ghost/Dockerfile
titanz 68bb08bd16
All checks were successful
Build / Build & push new image (push) Successful in 11m24s
edit usermapping so it's the same like in the USER_MAPPINGS
2025-02-08 23:45:24 +01:00

23 lines
483 B
Docker

ARG VERSION=5.109.2
ARG UID=200004
ARG GID=200004
FROM ghost:${VERSION}-alpine
LABEL maintainer="Lukas Raub titanz@pm.me"
ARG UID
ARG GID
RUN apk -U upgrade \
&& apk add libstdc++ shadow
RUN --network=none \
addgroup -g ${GID} ghost \
&& adduser -g ${GID} --ingroup ghost --disabled-password --system ghost
USER ghost
COPY --from=git.conorz.at/titanz-containers/hardened_malloc:latest /install /usr/local/lib/
ENV LD_PRELOAD="/usr/local/lib/libhardened_malloc.so"