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 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"]

View File

@ -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"]

View File

@ -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

View File

@ -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"]