Initial commit
All checks were successful
Build / Build & push new image (push) Successful in 11m21s
All checks were successful
Build / Build & push new image (push) Successful in 11m21s
This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
ARG VERSION=5.109.2
|
||||
ARG UID=200003
|
||||
ARG GID=200003
|
||||
|
||||
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"
|
Reference in New Issue
Block a user