Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/fakecloud-rds/assets/mariadb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN chmod 0755 /usr/local/bin/gosu
# symmetric with the mysql Dockerfile means a single source of truth
# for the build rule.
RUN apt-get update \
&& apt-get upgrade -y --no-install-recommends \
&& apt-get install -y --no-install-recommends \
gcc make libcurl4-openssl-dev libc6-dev ca-certificates curl \
&& rm -rf /var/lib/apt/lists/*
Expand Down
1 change: 1 addition & 0 deletions crates/fakecloud-rds/assets/mysql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ RUN set -eux; \
microdnf clean all; \
elif command -v apt-get >/dev/null 2>&1; then \
apt-get update; \
apt-get upgrade -y --no-install-recommends; \
apt-get install -y --no-install-recommends \
gcc make libcurl4-openssl-dev libc6-dev ca-certificates; \
rm -rf /var/lib/apt/lists/*; \
Expand Down
6 changes: 6 additions & 0 deletions crates/fakecloud-rds/assets/postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ ARG PG_VERSION
COPY --from=gosu-builder /go/bin/gosu /usr/local/bin/gosu
RUN chmod 0755 /usr/local/bin/gosu

# `apt-get upgrade` pulls in patched OS packages (openssl, glibc, dirmngr…)
# which sometimes lag behind on the upstream `postgres:<major>` tag —
# Trivy flags those as HIGH/CRITICAL even when fixes are available in
# the same Debian release. Running upgrade keeps the published image
# clean against the latest debian13 security DB at build time.
RUN apt-get update \
&& apt-get upgrade -y --no-install-recommends \
&& apt-get install -y --no-install-recommends \
postgresql-plpython3-${PG_VERSION} \
ca-certificates \
Expand Down
Loading