diff --git a/portainer/Dockerfile b/portainer/Dockerfile index 9aa89eebf..33203e7a6 100644 --- a/portainer/Dockerfile +++ b/portainer/Dockerfile @@ -43,9 +43,7 @@ RUN \ \ && curl -f -L -s \ "https://github.com/portainer/portainer/releases/download/${BUILD_UPSTREAM}/portainer-${BUILD_UPSTREAM}-linux-${ARCH}.tar.gz" \ - | tar zxvf - -C /opt/ || printf '%s\n' "${BUILD_UPSTREAM}" > /PORTFILE \ - \ - && chmod 777 /etc/services.d/*/* + | tar zxvf - -C /opt/ || printf '%s\n' "${BUILD_UPSTREAM}" > /PORTFILE ################## @@ -80,6 +78,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get # 4 Entrypoint # ################ +RUN chmod 777 /etc/services.d/*/* #RUN chmod 777 /entrypoint.sh #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ]