Skip to content
Closed
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
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ RUN ./scripts/install_full.sh && python ./scripts/trim_sdk.py \
)" \
&& apk add --virtual .rundeps $runDeps

# update vulnerabilities
RUN apk upgrade openssl
RUN apk upgrade binutils --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
Comment on lines +67 to +68
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a universal solution as they are only specific to certain versions of Alpine Linux image. Alpine Linux will include these fixes in its new docker image. We also automatically pick up the latest Alpine Linux image:

FROM python:${PYTHON_VERSION}-alpine

RUN pip install cryptography -U
RUN pip install requests -U
Comment on lines +69 to +70
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be covered by #26671.


WORKDIR /

# Remove CLI source code from the final image and normalize line endings.
Expand Down