Fix directory permissions
This commit is contained in:
parent
52f2d131c4
commit
78eae9643c
1 changed files with 2 additions and 8 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -1,11 +1,5 @@
|
||||||
FROM gitea/gitea:latest
|
FROM gitea/gitea:latest
|
||||||
USER root
|
USER root
|
||||||
RUN apk add --no-cache git-lfs && \
|
RUN apk add --no-cache git-lfs
|
||||||
mkdir -p /.s6-svscan /var/run/s6 && \
|
# Stay as root for debugging
|
||||||
chown -R git:git /.s6-svscan /var/run/s6 && \
|
|
||||||
chmod -R 755 /.s6-svscan /var/run/s6
|
|
||||||
# Set correct permissions for postgres
|
|
||||||
RUN mkdir -p /var/run/postgresql && \
|
|
||||||
chown -R git:git /var/run/postgresql
|
|
||||||
USER git
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue