Skip to content

Commit

Permalink
fix: outdated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludo Galabru committed Apr 12, 2023
1 parent a61c8c6 commit 771b036
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions dockerfiles/components/chainhook-event-observer.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,14 @@ FROM rust:bullseye as build

WORKDIR /src

RUN apt update && apt install -y ca-certificates pkg-config libssl-dev
RUN apt update && apt install -y ca-certificates pkg-config libssl-dev libclang-11-dev

RUN rustup update 1.59.0 && rustup default 1.59.0
RUN rustup update 1.67.0 && rustup default 1.67.0

COPY ./components/chainhook-types-rs /src/components/chainhook-types-rs

COPY ./components/chainhook-event-observer /src/components/chainhook-event-observer

COPY ./components/stacks-rpc-client /src/components/stacks-rpc-client

COPY ./components/clarity-repl /src/components/clarity-repl

COPY ./components/clarinet-utils /src/components/clarinet-utils

COPY ./components/hiro-system-kit /src/components/hiro-system-kit

WORKDIR /src/components/chainhook-event-observer

RUN mkdir /out
Expand All @@ -28,7 +20,7 @@ RUN cp target/release/chainhook-event-observer /out

FROM debian:bullseye-slim

RUN apt update && apt install -y libssl-dev
RUN apt update && apt install -y ca-certificates libssl-dev

COPY --from=build /out/ /bin/

Expand Down

0 comments on commit 771b036

Please sign in to comment.