chore: cleanup dependencies
This commit is contained in:
parent
4183d9adb5
commit
a3ebc896ec
@ -34,10 +34,10 @@ RUN apk add --update --no-cache --virtual .build-deps build-base libffi-dev musl
|
|||||||
MOLECULE_MAJOR="${MOLECULE_VERSION%%.*}" && \
|
MOLECULE_MAJOR="${MOLECULE_VERSION%%.*}" && \
|
||||||
if [ -z "${MOLECULE_MAJOR//[0-9]}" ] && [ -n "$MOLECULE_MAJOR" ]; then \
|
if [ -z "${MOLECULE_MAJOR//[0-9]}" ] && [ -n "$MOLECULE_MAJOR" ]; then \
|
||||||
echo "Installing molecule version '$MOLECULE_VERSION' ..." && \
|
echo "Installing molecule version '$MOLECULE_VERSION' ..." && \
|
||||||
pip install -qq --no-cache-dir molecule[docker,podman,lint]=="$MOLECULE_VERSION"; \
|
pip install -qq --no-cache-dir molecule[docker,podman,lint,test]=="$MOLECULE_VERSION"; \
|
||||||
else \
|
else \
|
||||||
echo "Installing latest molecule ..." && \
|
echo "Installing latest molecule ..." && \
|
||||||
pip install -qq --no-cache-dir molecule[docker,podman,lint]; \
|
pip install -qq --no-cache-dir molecule[docker,podman,lint,test]; \
|
||||||
fi && \
|
fi && \
|
||||||
apk del .build-deps && \
|
apk del .build-deps && \
|
||||||
rm -rf /var/cache/apk/* && \
|
rm -rf /var/cache/apk/* && \
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
# linter
|
|
||||||
testinfra
|
|
||||||
flake8
|
|
||||||
yamllint
|
|
||||||
ansible-lint
|
|
||||||
|
|
||||||
# cloud provider deps
|
# cloud provider deps
|
||||||
boto
|
boto
|
||||||
boto3
|
boto3
|
||||||
|
Reference in New Issue
Block a user