Skip to content
Snippets Groups Projects
Commit 80b12407 authored by Charlotte Hausman's avatar Charlotte Hausman Committed by Sam Kagan
Browse files

tweak files for unit testing

parent e1900e4a
No related branches found
No related tags found
2 merge requests!1706merge 2.8.4 to main,!1644docker & pipeline improvements
......@@ -27,9 +27,9 @@ RUN addgroup --gid 9233 almapipe && \
useradd --create-home --comment "" --gid 9233 --uid 9233 almapipe
# needed for unit tests
#USER vlapipe
#WORKDIR /home/ssa/capo
#COPY --chown=vlapipe:vlapipe docker.properties docker.properties
USER vlapipe
WORKDIR /home/ssa/capo
COPY --chown=vlapipe:vlapipe docker.properties docker.properties
USER root
WORKDIR /code
......
......@@ -33,16 +33,16 @@ RUN addgroup --gid 9233 almapipe && \
useradd --create-home --comment "" --gid 9233 --uid 9233 almapipe
# needed for unit tests
#USER vlapipe
#WORKDIR /home/ssa/capo
#COPY --chown=vlapipe:vlapipe docker.properties docker.properties
USER vlapipe
WORKDIR /home/ssa/capo
COPY --chown=vlapipe:vlapipe docker.properties docker.properties
USER root
WORKDIR /code/
RUN chown vlapipe . && chgrp vlapipe .
# Switch to appuser and set ownership of docker.properties to vlapipe and the vlapipe group
# Switch to appuser and install poetry
USER vlapipe
RUN curl -sSL https://install.python-poetry.org | python3 -
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment