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-dev
|
||||
|
||||
ENV MOLECULE_PLUGINS="\
|
||||
molecule-hetznercloud \
|
||||
"
|
||||
|
||||
# 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 . .
|
||||
|
||||
RUN \
|
||||
python3 -m pip wheel \
|
||||
-w dist \
|
||||
molecule testinfra ${MOLECULE_PLUGINS}
|
||||
molecule testinfra molecule-hetznercloud ansible
|
||||
|
||||
RUN ls -1 dist/
|
||||
|
||||
@ -132,10 +129,6 @@ ENV PIP_INSTALL_ARGS="\
|
||||
-f /usr/src/molecule/dist \
|
||||
"
|
||||
|
||||
ENV MOLECULE_PLUGINS="\
|
||||
molecule-hetznercloud \
|
||||
"
|
||||
|
||||
RUN \
|
||||
apk add --update --no-cache \
|
||||
${BUILD_DEPS} ${PACKAGES} \
|
||||
@ -147,11 +140,6 @@ COPY --from=molecule-builder \
|
||||
/usr/src/molecule/dist
|
||||
|
||||
RUN \
|
||||
python3 -m pip install \
|
||||
${PIP_INSTALL_ARGS} \
|
||||
molecule testinfra ${MOLECULE_PLUGINS} && \
|
||||
molecule --version && \
|
||||
molecule drivers && \
|
||||
pip check
|
||||
python3 -m pip install molecule testinfra molecule-hetznercloud ansible
|
||||
|
||||
ENV SHELL /bin/bash
|
||||
|
Loading…
Reference in New Issue
Block a user