This commit is contained in:
parent
f381b55d90
commit
c03ddc6c69
11
Dockerfile
11
Dockerfile
@ -8,6 +8,7 @@ LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
|
|||||||
|
|
||||||
ARG ANSIBLE_VERSION=2.9.0
|
ARG ANSIBLE_VERSION=2.9.0
|
||||||
ARG MOLECULE_VERSION=latest
|
ARG MOLECULE_VERSION=latest
|
||||||
|
ARG TEST="${MOLECULE_VERSION}"
|
||||||
|
|
||||||
ENV PY_COLORS=1 \
|
ENV PY_COLORS=1 \
|
||||||
USER=root \
|
USER=root \
|
||||||
@ -20,11 +21,11 @@ RUN apk add --update --no-cache --virtual .build-deps gcc make libffi-dev musl-d
|
|||||||
apk add --update --no-cache git openssh-client && \
|
apk add --update --no-cache git openssh-client && \
|
||||||
# Required to fix hcloud dependency:
|
# Required to fix hcloud dependency:
|
||||||
# hcloud 1.6.3 has requirement requests<2.23,>=2.20, but you'll have requests 2.23.0
|
# hcloud 1.6.3 has requirement requests<2.23,>=2.20, but you'll have requests 2.23.0
|
||||||
echo "Installing ansible 'v$ANSIBLE_VERSION' ..." && \
|
# echo "Installing ansible 'v$ANSIBLE_VERSION' ..." && \
|
||||||
pip install -qq --upgrade --no-cache-dir pip setuptools requests~=2.22.0 && \
|
# pip install -qq --upgrade --no-cache-dir pip setuptools requests~=2.22.0 && \
|
||||||
pip install -qq --no-cache-dir ansible~="$ANSIBLE_VERSION" && \
|
# pip install -qq --no-cache-dir ansible~="$ANSIBLE_VERSION" && \
|
||||||
echo "Installing requirements ..." && \
|
# echo "Installing requirements ..." && \
|
||||||
echo "$MOLECULE_VERSION" && \
|
echo "$TEST" && \
|
||||||
MOLECULE_VERSION="${MOLECULE_VERSION#v}" && \
|
MOLECULE_VERSION="${MOLECULE_VERSION#v}" && \
|
||||||
MOLECULE_MAJOR="${MOLECULE_VERSION%%.*}" && \
|
MOLECULE_MAJOR="${MOLECULE_VERSION%%.*}" && \
|
||||||
echo "$MOLECULE_VERSION" && \
|
echo "$MOLECULE_VERSION" && \
|
||||||
|
Reference in New Issue
Block a user