Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Upgrade container base image during build
Browse files Browse the repository at this point in the history
When building container image, upgrade the base image packages to
get the latest security & stability updates to dependencies.
  • Loading branch information
tuommaki committed Jan 25, 2024
1 parent 215544f commit 2d2e2ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM rust:1-bookworm
COPY ./Cargo.* ./
COPY ./crates ./crates

RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
libssl-dev \
protobuf-compiler

Expand All @@ -15,7 +15,7 @@ FROM debian:bookworm
COPY --from=0 target/release/gevulot /gevulot

# Install QEMU.
RUN apt-get update && apt-get install -y --no-install-recommends \
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
qemu-system
Expand Down

0 comments on commit 2d2e2ee

Please sign in to comment.