Archived
1
0
Fork 0

fix: create home directory
Some checks failed
Build Image / build-and-push-image (push) Failing after 1m12s

This commit is contained in:
Daniel Kempkens 2024-06-29 17:34:07 +02:00
parent d6d246e745
commit 431c74ff7f
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -7,7 +7,8 @@ ENV ARCHIVE="weewx-${WEEWX_VERSION}.tgz"
ENV WEEWX_WDC_VERSION="v3.5.1" ENV WEEWX_WDC_VERSION="v3.5.1"
RUN addgroup --system --gid ${WEEWX_UID} weewx \ 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 # Install installation dependencies
RUN apt-get update -qq -y &&\ RUN apt-get update -qq -y &&\