Update Dockerfile

This commit is contained in:
浪子 2024-12-16 11:44:11 +08:00 committed by GitHub
parent 934cc957e9
commit 551a563518
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
FROM elixir:1.16.3-alpine FROM elixir:1.16.3-alpine
ARG PLEROMA_VER=stable ARG PLEROMA_VER=stable
ARG UID=911 ARG UID=911
ARG GID=911 ARG GID=911
@ -8,7 +9,7 @@ RUN apk update && \
apk add --no-cache \ apk add --no-cache \
git gcc g++ musl-dev make cmake file-dev \ git gcc g++ musl-dev make cmake file-dev \
exiftool imagemagick libmagic ncurses \ exiftool imagemagick libmagic ncurses \
postgresql-client ffmpeg postgresql-client ffmpeg openssl-dev
RUN addgroup -g ${GID} pleroma && \ RUN addgroup -g ${GID} pleroma && \
adduser -h /pleroma -s /bin/false -D -G pleroma -u ${UID} pleroma adduser -h /pleroma -s /bin/false -D -G pleroma -u ${UID} pleroma