Commit d601e928 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fix permission in docker image.

parent 988869fe
Pipeline #36954 failed with stages
in 3 minutes and 8 seconds
# default installed image for docker executor is: python:3.6
image: docker:git
# Uncomment the next lines, to run each pipline/job in its own docker environment.
# Otherwise, it will use the docker of the gitlab runner host (e.g. enc-preprocessing...).
# This will give it access to a persitent layer cache, which will not be available
# with the docker service.
# services:
# - docker:dind
stages:
- build
- test
- qa
- test
build:
stage: build
......
......@@ -60,6 +60,7 @@ COPY --from=build /install/.dependencies/nomad-meta-info /app/.dependencies/noma
COPY --from=build /install/docs/.build /app/docs/.build
RUN useradd -ms /bin/bash nomad
RUN mkdir -p /app/.volumes/fs; chown -R nomad /app/.volumes/fs
RUN mkdir -p /app/.volumes/fs
RUN chown -R nomad /app
USER nomad
VOLUME /app/.volumes/fs
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment