Skip to content

Commit c2dae29

Browse files
authored
Merge pull request #43 from PostHog/tom/openssl
Don't execute `dnf upgrade` during docker build
2 parents 13601eb + ba799f9 commit c2dae29

4 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/docker/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ FROM ghcr.io/astral-sh/uv:0.9.5 AS uv
22

33
FROM public.ecr.aws/lambda/python:3.13
44

5-
# Patch OpenSSL FIPS provider vulnerability
6-
RUN dnf upgrade -y openssl openssl-libs openssl-fips-provider && dnf clean all
7-
85
# Copy uv from the official image
96
COPY --from=uv /uv /bin/uv
107

src/docker/Dockerfile.attribute_syncer

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ RUN --mount=from=uv,source=/uv,target=/bin/uv \
3232

3333
FROM public.ecr.aws/lambda/python:3.13
3434

35-
# Patch OpenSSL FIPS provider vulnerability
36-
RUN dnf upgrade -y openssl openssl-libs openssl-fips-provider && dnf clean all
37-
3835
# Copy the runtime dependencies from the builder stage with proper ownership
3936
COPY --from=builder --chown=1000:1000 ${LAMBDA_TASK_ROOT} ${LAMBDA_TASK_ROOT}
4037

src/docker/Dockerfile.requester

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ RUN --mount=from=uv,source=/uv,target=/bin/uv \
3232

3333
FROM public.ecr.aws/lambda/python:3.13
3434

35-
# Patch OpenSSL FIPS provider vulnerability
36-
RUN dnf upgrade -y openssl openssl-libs openssl-fips-provider && dnf clean all
37-
3835
# Copy the runtime dependencies from the builder stage with proper ownership
3936
COPY --from=builder --chown=1000:1000 ${LAMBDA_TASK_ROOT} ${LAMBDA_TASK_ROOT}
4037

src/docker/Dockerfile.revoker

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ RUN --mount=from=uv,source=/uv,target=/bin/uv \
3232

3333
FROM public.ecr.aws/lambda/python:3.13
3434

35-
# Patch OpenSSL FIPS provider vulnerability
36-
RUN dnf upgrade -y openssl openssl-libs openssl-fips-provider && dnf clean all
37-
3835
# Copy the runtime dependencies from the builder stage with proper ownership
3936
COPY --from=builder --chown=1000:1000 ${LAMBDA_TASK_ROOT} ${LAMBDA_TASK_ROOT}
4037

0 commit comments

Comments
 (0)