:shipit: fixup

This commit is contained in:
sn0w 2019-01-20 13:02:42 +01:00
parent 68969630cf
commit 88d6d04779
No known key found for this signature in database
GPG Key ID: DDEDFB9D3FA15727

View File

@ -20,6 +20,9 @@ RUN \
build-base \
\
&& apk add --no-cache --virtual .runtime \
--repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \
--repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
--force-overwrite \
erlang erlang-runtime-tools erlang-xmerl elixir
# Add entrypoint
@ -33,7 +36,7 @@ ARG DOCKER_GID=1000
ARG PLEROMA_UPLOADS_PATH=/uploads
RUN \
addgroup --gid ${DOCKER_GID} pleroma \
addgroup -g ${DOCKER_GID} pleroma \
&& adduser -S -s /bin/ash -G pleroma -u ${DOCKER_UID} pleroma \
&& mkdir -p /custom.d $PLEROMA_UPLOADS_PATH \
&& chown -R pleroma:pleroma /custom.d $PLEROMA_UPLOADS_PATH