Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Use release of code instead of repo
Browse files Browse the repository at this point in the history
  • Loading branch information
felddy committed Jun 7, 2019
1 parent b63c80f commit 5b0d395
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ RUN addgroup --system --gid ${CISA_UID} cisa \

RUN apk --update --no-cache add \
ca-certificates \
git \
openssl \
py-pip

WORKDIR ${CISA_HOME}

RUN git clone https://github.com/cisagov/skeleton-python-library.git . && \
pip install --requirement requirements.txt && \
ln -snf /run/secrets/quote.txt src/example/data/secret.txt
RUN wget -O sourcecode.tgz https://github.com/cisagov/skeleton-python-library/archive/v${VERSION}.tar.gz && \
tar xzf sourcecode.tgz --strip-components=1 && \
pip install --requirement requirements.txt && \
ln -snf /run/secrets/quote.txt src/example/data/secret.txt && \
rm sourcecode.tgz

USER cisa

Expand Down

0 comments on commit 5b0d395

Please # to comment.