Update Dockerfile

This commit is contained in:
Alexandre
2021-12-10 07:37:21 +01:00
committed by GitHub
parent 0821c37883
commit 1d931c8c30

View File

@@ -1,13 +1,18 @@
###############
# Build Image #
###############
ARG BUILD_FROM ARG BUILD_FROM
ARG BUILD_VERSION ARG BUILD_VERSION
FROM ${BUILD_FROM} FROM ${BUILD_FROM}
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
################ ################
# Modify Image # # Modify Image #
################ ################
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN \ RUN \
# Allow UID and GID setting # Allow UID and GID setting
sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \ sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \