Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
forwardcomputers committed Jan 19, 2024
1 parent 0a7fa34 commit df3f9f8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions base_alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@ ENV USER="ali" \
PUID="1001" \
PGID="1001" \
APP_DIR="/app" \
CONFIG_DIR="/config" \
TZ="America/Toronto" \
_CHAR="UTF-8" \
_LANG="en" \
_CNTRY="US"
ENV XDG_CONFIG_HOME=${CONFIG_DIR}/.config \
XDG_CACHE_HOME=${CONFIG_DIR}/.cache \
XDG_DATA_HOME=${CONFIG_DIR}/.local/share \
LANG=${_LANG}_${_CNTRY}.${_CHAR} \
ENV LANG=${_LANG}_${_CNTRY}.${_CHAR} \
LANGUAGE=${_LANG} \
LC_ALL=${_LANG}_${_CNTRY}.${_CHAR}
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 \
Expand Down Expand Up @@ -72,7 +68,7 @@ RUN set -e \
# Create folders
&& echo mkdir -p {"${APP_DIR}","${CONFIG_DIR}"} | bash \
# Create user
&& adduser -D -h "${CONFIG_DIR}" -s /bin/false -u "${PUID}" "${USER}" \
&& adduser -D -s /bin/false -u "${PUID}" "${USER}" \
&& addgroup "${USER}" users \
#
# Clean-up
Expand Down

0 comments on commit df3f9f8

Please sign in to comment.