fix continuation lines
This commit is contained in:
parent
5914a2fd27
commit
308d2a6dfd
16
Dockerfile
16
Dockerfile
|
|
@ -12,37 +12,33 @@ ENV PS1="$(whoami)@$(hostname):$(pwd)$ " \
|
|||
HOME="/root" \
|
||||
TERM="xterm"
|
||||
|
||||
# install packages
|
||||
RUN \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
curl \
|
||||
tar && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apk add --no-cache \
|
||||
bash \
|
||||
ca-certificates \
|
||||
coreutils \
|
||||
shadow \
|
||||
tzdata && \
|
||||
|
||||
# add s6 overlay
|
||||
echo "**** add s6 overlay ****" && \
|
||||
curl -o \
|
||||
/tmp/s6-overlay.tar.gz -L \
|
||||
"https://github.com/just-containers/s6-overlay/releases/download/${OVERLAY_VERSION}/s6-overlay-${OVERLAY_ARCH}.tar.gz" && \
|
||||
tar xfz \
|
||||
/tmp/s6-overlay.tar.gz -C / && \
|
||||
|
||||
# create abc user
|
||||
echo "**** create abc user and make our folders ****" && \
|
||||
groupmod -g 1000 users && \
|
||||
useradd -u 911 -U -d /config -s /bin/false abc && \
|
||||
usermod -G users abc && \
|
||||
|
||||
# make our folders
|
||||
mkdir -p \
|
||||
/app \
|
||||
/config \
|
||||
/defaults && \
|
||||
|
||||
# clean up
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
|
|
|
|||
Loading…
Reference in a new issue