Fix directory permissions
This commit is contained in:
parent
acaecd741b
commit
52f2d131c4
1 changed files with 5 additions and 2 deletions
|
|
@ -2,7 +2,10 @@ FROM gitea/gitea:latest
|
|||
USER root
|
||||
RUN apk add --no-cache git-lfs && \
|
||||
mkdir -p /.s6-svscan /var/run/s6 && \
|
||||
chmod -R 777 /.s6-svscan /var/run/s6 && \
|
||||
chown -R git:git /.s6-svscan /var/run/s6
|
||||
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