All checks were successful
Build / Build & push new image (push) Successful in 11m24s
23 lines
483 B
Docker
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"
|