Skip to content
Snippets Groups Projects
Commit 3c8320ad authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

tweak files for unit testing

parent 79b4e128
No related branches found
No related tags found
4 merge requests!1706merge 2.8.4 to main,!1642Playing with docker cleanup,!1614PIPELINE TESTING: Playing with shared/workspaces testing,!1613pipeline testing with poetry only services
Pipeline #14885 passed
......@@ -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