set GID during build, comments++

This commit is contained in:
Josh Lay 2021-11-19 19:29:49 -06:00
parent e598249fe9
commit 5dbab5e1e9

View file

@ -4,8 +4,12 @@
FROM fedora:35 FROM fedora:35
LABEL maintainer="me@jlay.io" \ LABEL maintainer="me@jlay.io" \
org.opencontainers.image.authors="me@jlay.io" org.opencontainers.image.authors="me@jlay.io"
ARG PUID=1000
# site customizations below, change as necessary (eg: to match Docker volume host UID/GID owners)
ARG PUID=1001
ARG PGID=1002
# set the user, homedir, and steamcmd directories as (env) variables
ENV USER steam ENV USER steam
ENV HOMEDIR "/home/${USER}" ENV HOMEDIR "/home/${USER}"
ENV STEAMCMDDIR "${HOMEDIR}/steamcmd" ENV STEAMCMDDIR "${HOMEDIR}/steamcmd"