summaryrefslogtreecommitdiff
path: root/docker/integration_test/web/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/integration_test/web/Dockerfile')
-rw-r--r--docker/integration_test/web/Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/integration_test/web/Dockerfile b/docker/integration_test/web/Dockerfile
index b9b2ad7..b102d4d 100644
--- a/docker/integration_test/web/Dockerfile
+++ b/docker/integration_test/web/Dockerfile
@@ -8,19 +8,19 @@ COPY server/target/x86_64-unknown-linux-musl/debug/eyeballs-githook /app/eyeball
COPY server/target/debug/eyeballs /app/eyeballs
COPY docker/integration_test/web/setup.sh /app/setup.sh
-RUN mkdir -p /git/auth /git/repos
+RUN mkdir -p /git/auth /srv/git
# git image runs as default git user, with uid 1000 gid 1000.
# we need the same, but it can't be named git (as package git installs a git user)
# so add another user with 1000 gid 1000 and make sure that shared files
-# (/git/auth and /git/repos) are owned by that user and not root.
+# (/git/auth and /srv/git) are owned by that user and not root.
RUN useradd --no-create-home --uid 1000 --user-group -s /usr/bin/nologin alf
RUN chown alf:alf /app
RUN chown alf:alf /git/auth
-RUN chown alf:alf /git/repos
+RUN chown alf:alf /srv/git
VOLUME /git/auth
-VOLUME /git/repos
+VOLUME /srv/git
USER alf:alf