try to fix missing root dir
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-09-23 13:56:26 +02:00
parent c00cd46551
commit 38342a918f
4 changed files with 9 additions and 13 deletions

View File

@ -31,10 +31,9 @@ RUN \
apk update \
&& apk add --update --no-cache ${PACKAGES} \
&& rm -rf /var/cache/apk/* \
&& pip install --upgrade pip \
&& pip install --upgrade --no-cache-dir pip \
&& pip install --no-cache-dir ${PIP_PACKAGES} \
&& rm -rf /root/.cache \
&& mkdir /root
&& rm -rf /root/.cache/
USER root
ENTRYPOINT ["/docker-entrypoint.sh"]

View File

@ -32,10 +32,9 @@ RUN \
apk update \
&& apk add --update --no-cache ${PACKAGES} \
&& rm -rf /var/cache/apk/* \
&& pip install --upgrade pip \
&& pip install --upgrade --no-cache-dir pip \
&& pip install --no-cache-dir ${PIP_PACKAGES} \
&& rm -rf /root/.cache \
&& mkdir /root
&& rm -rf /root/.cache/
USER root
ENTRYPOINT ["/docker-entrypoint.sh"]

View File

@ -32,10 +32,10 @@ RUN \
apk update \
&& apk add --update --no-cache ${PACKAGES} \
&& rm -rf /var/cache/apk/* \
&& pip install --upgrade pip \
&& pip install --upgrade --no-cache-dir pip \
&& pip install --no-cache-dir ${PIP_PACKAGES} \
&& rm -rf /root/.cache \
&& mkdir -p /root/.ssh \
&& rm -rf /root/.cache/ \
&& mkdir /root/.ssh \
&& chmod 700 /root/.ssh
USER root

View File

@ -21,7 +21,6 @@ ENV PACKAGES="\
ENV PIP_PACKAGES="\
ansible~=2.8.0 \
molecule[hetznercloud] \
virtualenv \
pycrypto \
hcloud \
"
@ -32,10 +31,9 @@ RUN \
apk update \
&& apk add --update --no-cache ${PACKAGES} \
&& rm -rf /var/cache/apk/* \
&& pip install --upgrade pip \
&& pip install --upgrade --no-cache-dir pip \
&& pip install --no-cache-dir ${PIP_PACKAGES} \
&& rm -rf /root/.cache \
&& mkdir /root
&& rm -rf /root/.cache/
USER root
ENTRYPOINT ["/docker-entrypoint.sh"]