Skip to content

Commit

Permalink
fix: update Dockerfile to use correct upstream parent
Browse files Browse the repository at this point in the history
Rust-builder no longer publishes the debian-latest tag and uses the
debian flavor for its latest. This updates our Dockerfile to use the
correct upstream parent image so we do not get glibc version conflicts.
  • Loading branch information
nathanielc committed Oct 27, 2023
1 parent a6e4316 commit d860099
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ RUN --mount=type=cache,target=/home/builder/.cargo,uid=1001,gid=1001 \
make build && \
cp ./target/release/keramik-runner ./target/release/keramik-operator ./

FROM ubuntu:latest as runner
# This image needs to be the same as the parent image of rust-builder
FROM debian:bookworm-slim as runner

COPY --from=builder /home/builder/keramik/keramik-runner /usr/bin

ENTRYPOINT ["/usr/bin/keramik-runner"]

FROM ubuntu:latest as operator
# This image needs to be the same as the parent image of rust-builder
FROM debian:bookworm-slim as operator

COPY --from=builder /home/builder/keramik/keramik-operator /usr/bin

Expand Down

0 comments on commit d860099

Please sign in to comment.