try to fix missing root dir
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c00cd46551
commit
38342a918f
@ -31,10 +31,9 @@ RUN \
|
|||||||
apk update \
|
apk update \
|
||||||
&& apk add --update --no-cache ${PACKAGES} \
|
&& apk add --update --no-cache ${PACKAGES} \
|
||||||
&& rm -rf /var/cache/apk/* \
|
&& rm -rf /var/cache/apk/* \
|
||||||
&& pip install --upgrade pip \
|
&& pip install --upgrade --no-cache-dir pip \
|
||||||
&& pip install --no-cache-dir ${PIP_PACKAGES} \
|
&& pip install --no-cache-dir ${PIP_PACKAGES} \
|
||||||
&& rm -rf /root/.cache \
|
&& rm -rf /root/.cache/
|
||||||
&& mkdir /root
|
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
|
@ -32,10 +32,9 @@ RUN \
|
|||||||
apk update \
|
apk update \
|
||||||
&& apk add --update --no-cache ${PACKAGES} \
|
&& apk add --update --no-cache ${PACKAGES} \
|
||||||
&& rm -rf /var/cache/apk/* \
|
&& rm -rf /var/cache/apk/* \
|
||||||
&& pip install --upgrade pip \
|
&& pip install --upgrade --no-cache-dir pip \
|
||||||
&& pip install --no-cache-dir ${PIP_PACKAGES} \
|
&& pip install --no-cache-dir ${PIP_PACKAGES} \
|
||||||
&& rm -rf /root/.cache \
|
&& rm -rf /root/.cache/
|
||||||
&& mkdir /root
|
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
|
@ -32,10 +32,10 @@ RUN \
|
|||||||
apk update \
|
apk update \
|
||||||
&& apk add --update --no-cache ${PACKAGES} \
|
&& apk add --update --no-cache ${PACKAGES} \
|
||||||
&& rm -rf /var/cache/apk/* \
|
&& rm -rf /var/cache/apk/* \
|
||||||
&& pip install --upgrade pip \
|
&& pip install --upgrade --no-cache-dir pip \
|
||||||
&& pip install --no-cache-dir ${PIP_PACKAGES} \
|
&& pip install --no-cache-dir ${PIP_PACKAGES} \
|
||||||
&& rm -rf /root/.cache \
|
&& rm -rf /root/.cache/ \
|
||||||
&& mkdir -p /root/.ssh \
|
&& mkdir /root/.ssh \
|
||||||
&& chmod 700 /root/.ssh
|
&& chmod 700 /root/.ssh
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
@ -21,7 +21,6 @@ ENV PACKAGES="\
|
|||||||
ENV PIP_PACKAGES="\
|
ENV PIP_PACKAGES="\
|
||||||
ansible~=2.8.0 \
|
ansible~=2.8.0 \
|
||||||
molecule[hetznercloud] \
|
molecule[hetznercloud] \
|
||||||
virtualenv \
|
|
||||||
pycrypto \
|
pycrypto \
|
||||||
hcloud \
|
hcloud \
|
||||||
"
|
"
|
||||||
@ -32,10 +31,9 @@ RUN \
|
|||||||
apk update \
|
apk update \
|
||||||
&& apk add --update --no-cache ${PACKAGES} \
|
&& apk add --update --no-cache ${PACKAGES} \
|
||||||
&& rm -rf /var/cache/apk/* \
|
&& rm -rf /var/cache/apk/* \
|
||||||
&& pip install --upgrade pip \
|
&& pip install --upgrade --no-cache-dir pip \
|
||||||
&& pip install --no-cache-dir ${PIP_PACKAGES} \
|
&& pip install --no-cache-dir ${PIP_PACKAGES} \
|
||||||
&& rm -rf /root/.cache \
|
&& rm -rf /root/.cache/
|
||||||
&& mkdir /root
|
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
|
Reference in New Issue
Block a user