Skip to content

Commit

Permalink
chore: update ca-certificates so eth rpc connections (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
dav1do authored Oct 3, 2024
1 parent aae1058 commit 98aca5c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ COPY . .
# To clear the cache use:
# docker builder prune --filter type=exec.cachemount
RUN --mount=type=cache,target=/home/builder/.cargo \
--mount=type=cache,target=/home/builder/rust-ceramic/target \
make $BUILD_MODE && \
cp ./target/$BUILD_MODE/ceramic-one ./
--mount=type=cache,target=/home/builder/rust-ceramic/target \
make $BUILD_MODE && \
cp ./target/$BUILD_MODE/ceramic-one ./

FROM debian:bookworm-slim

RUN apt-get update \
&& apt-get install ca-certificates -y \
&& rm -rf /var/lib/apt/lists/*

COPY --from=builder /home/builder/rust-ceramic/ceramic-one /usr/bin

# Adding this step after copying the ceramic-one binary so that we always take the newest libs from the builder if the
Expand Down

0 comments on commit 98aca5c

Please sign in to comment.