Skip to content

Commit

Permalink
AI-566: Add --no-cache-dir to pip install in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkj1 committed Dec 1, 2022
1 parent d441260 commit 02c8e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{ cookiecutter.repo_name }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ADD http://aiav2.vgregion.se/VGC%20Issuing%202%20CA%20v2.crt /tmp/vgc_issuing2.d
ADD http://aiav2.vgregion.se/VGC%20Issuing%201%20CA%20v2(1).crt /tmp/vgc_issuing1_2.der

COPY requirements.txt {% if cookiecutter.image != 'R' %} setup.py {% endif %} ./
RUN pip install -r requirements.txt \
RUN pip install -r requirements.txt --no-cache-dir \
&& openssl x509 -inform der -in /tmp/vgc_root.der -out /usr/local/share/ca-certificates/vgc_root.crt \
&& openssl x509 -inform der -in /tmp/vgc_issuing1.der -out /usr/local/share/ca-certificates/vgc_issuing1.crt \
&& openssl x509 -inform der -in /tmp/vgc_issuing1_2.der -out /usr/local/share/ca-certificates/vgc_issuing1_2.crt \
Expand Down

0 comments on commit 02c8e9a

Please sign in to comment.