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

Commit

Permalink
fix(dependencies): apk-tools upgrade to fix CVE-2021-36159 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
lholota committed Aug 4, 2021
1 parent 8dea74d commit 1efced3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ LABEL maintainer="Lukas Holota <[email protected]>"

ENV S6_VERSION="v1.22.1.0"
ENV CPU_ARCH="amd64"

ENV PUID=7077
ENV PGID=7077
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2

ADD https://github.com/just-containers/s6-overlay/releases/download/${S6_VERSION}/s6-overlay-${CPU_ARCH}.tar.gz /tmp/

RUN tar xzf /tmp/s6-overlay-${CPU_ARCH}.tar.gz -C / && \
# This package is included in the base image. It's explicitly upgrade to avoid CVE-2021-36159
apk add --no-cache apk-tools=2.12.7-r0 && \
apk add --no-cache shadow=4.8.1-r0 && \
rm /tmp/s6-overlay-${CPU_ARCH}.tar.gz

Expand Down

0 comments on commit 1efced3

Please sign in to comment.