Browse Source

Switch back to correct (implicit) mediagoblin uid?

master
Dan Helfman 4 months ago
parent
commit
1cce298f22
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Dockerfile

+ 2
- 2
Dockerfile View File

@@ -47,7 +47,7 @@ RUN install_packages \
47 47
 
48 48
 COPY --from=build /usr/local/lib/python3.5 /usr/local/lib/python3.5
49 49
 COPY --from=build /usr/local/bin /usr/local/bin
50
-COPY --from=build --chown=1000:www-data /app /app
50
+COPY --from=build --chown=999:www-data /app /app
51 51
 COPY --from=build /sbin/tini /sbin/tini
52 52
 COPY mediagoblin_local.ini.template /app/mediagoblin_local.ini.template
53 53
 COPY uwsgi.yaml /etc/uwsgi/apps-enabled/mediagoblin.yaml
@@ -56,7 +56,7 @@ COPY wait-for /sbin/wait-for
56 56
 COPY run.sh /sbin/run.sh
57 57
 
58 58
 RUN addgroup --system mediagoblin \
59
-    && useradd --system --uid 1000 --gid mediagoblin --groups www-data --home-dir /var/lib/mediagoblin \
59
+    && useradd --system --uid 999 --gid mediagoblin --groups www-data --home-dir /var/lib/mediagoblin \
60 60
        --shell /bin/bash mediagoblin \
61 61
     && mkdir /app/user_dev \
62 62
     && chmod --recursive 0750 /app/user_dev \

Loading…
Cancel
Save