fix: create home directory
Some checks failed
Build Image / build-and-push-image (push) Failing after 1m12s
Some checks failed
Build Image / build-and-push-image (push) Failing after 1m12s
This commit is contained in:
parent
d6d246e745
commit
431c74ff7f
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ ENV ARCHIVE="weewx-${WEEWX_VERSION}.tgz"
|
|||
ENV WEEWX_WDC_VERSION="v3.5.1"
|
||||
|
||||
RUN addgroup --system --gid ${WEEWX_UID} weewx \
|
||||
&& adduser --system --uid ${WEEWX_UID} --ingroup weewx weewx
|
||||
&& adduser --system --uid ${WEEWX_UID} --ingroup weewx weewx \
|
||||
&& mkdir -p ${WEEWX_HOME} && chown -R weewx:weewx ${WEEWX_HOME}
|
||||
|
||||
# Install installation dependencies
|
||||
RUN apt-get update -qq -y &&\
|
||||
|
|
Reference in a new issue