Trim and include Ansible
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
97cfac538a
commit
87d8e86bb4
20
Dockerfile
20
Dockerfile
@ -57,19 +57,16 @@ py3-yaml \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev
|
python3-dev
|
||||||
|
|
||||||
ENV MOLECULE_PLUGINS="\
|
|
||||||
molecule-hetznercloud \
|
|
||||||
"
|
|
||||||
|
|
||||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917006
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917006
|
||||||
RUN python3 -m pip install -U wheel pip setuptools
|
RUN \
|
||||||
|
python3 -m pip install -U wheel pip setuptools
|
||||||
|
|
||||||
ADD . .
|
ADD . .
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
python3 -m pip wheel \
|
python3 -m pip wheel \
|
||||||
-w dist \
|
-w dist \
|
||||||
molecule testinfra ${MOLECULE_PLUGINS}
|
molecule testinfra molecule-hetznercloud ansible
|
||||||
|
|
||||||
RUN ls -1 dist/
|
RUN ls -1 dist/
|
||||||
|
|
||||||
@ -132,10 +129,6 @@ ENV PIP_INSTALL_ARGS="\
|
|||||||
-f /usr/src/molecule/dist \
|
-f /usr/src/molecule/dist \
|
||||||
"
|
"
|
||||||
|
|
||||||
ENV MOLECULE_PLUGINS="\
|
|
||||||
molecule-hetznercloud \
|
|
||||||
"
|
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk add --update --no-cache \
|
apk add --update --no-cache \
|
||||||
${BUILD_DEPS} ${PACKAGES} \
|
${BUILD_DEPS} ${PACKAGES} \
|
||||||
@ -147,11 +140,6 @@ COPY --from=molecule-builder \
|
|||||||
/usr/src/molecule/dist
|
/usr/src/molecule/dist
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
python3 -m pip install \
|
python3 -m pip install molecule testinfra molecule-hetznercloud ansible
|
||||||
${PIP_INSTALL_ARGS} \
|
|
||||||
molecule testinfra ${MOLECULE_PLUGINS} && \
|
|
||||||
molecule --version && \
|
|
||||||
molecule drivers && \
|
|
||||||
pip check
|
|
||||||
|
|
||||||
ENV SHELL /bin/bash
|
ENV SHELL /bin/bash
|
||||||
|
Loading…
Reference in New Issue
Block a user