Skip to content

Commit

Permalink
fix(security): CVE-2020-28928
Browse files Browse the repository at this point in the history
  • Loading branch information
aidmax committed Dec 4, 2020
1 parent 97ea2e2 commit 1b62069
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ FROM adoptopenjdk/openjdk8:alpine-jre

ENV STRUCTURIZR_VERSION 1.6.0


# Create app directory
WORKDIR /root/structurizr

RUN set -e; \
apk add --no-cache bash && \
wget https://github.com/structurizr/cli/releases/download/v${STRUCTURIZR_VERSION}/structurizr-cli-${STRUCTURIZR_VERSION}.zip && \
apk add --no-cache \
bash \
musl-utils==1.1.24-r10 \
musl==1.1.24-r10 \
&& wget https://github.com/structurizr/cli/releases/download/v${STRUCTURIZR_VERSION}/structurizr-cli-${STRUCTURIZR_VERSION}.zip && \
unzip structurizr-cli-${STRUCTURIZR_VERSION}.zip && \
ln -s structurizr-cli-${STRUCTURIZR_VERSION}.jar structurizr-cli.jar && \
rm structurizr-cli-${STRUCTURIZR_VERSION}.zip
Expand Down

0 comments on commit 1b62069

Please sign in to comment.