Skip to content

Commit

Permalink
Merge pull request #24 from Vastra-Gotalandsregionen/AI-566
Browse files Browse the repository at this point in the history
AI-566: Fix bug where artifact files are placed in workspace directory
  • Loading branch information
VincentLideboKjellman authored Dec 1, 2022
2 parents 50bef69 + 02c8e9a commit 280f2ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions {{ cookiecutter.repo_name }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ 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 \
&& openssl x509 -inform der -in /tmp/vgc_issuing2.der -out /usr/local/share/ca-certificates/vgc_issuing2.crt \
&& update-ca-certificates
&& update-ca-certificates \
&& rm requirements.txt setup.py

USER researcher
WORKDIR /workspace

0 comments on commit 280f2ab

Please sign in to comment.