[CR] Moved image to cr.simoncor.net
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Cornet 2023-05-25 15:51:28 +02:00
parent a960eedd49
commit 085005dab1
2 changed files with 3 additions and 8 deletions

View File

@ -12,9 +12,9 @@ steps:
settings:
# registery and repos
registry: 'docker.io'
cache_from: 'rakepanorama/ansible-deployment'
repo: 'rakepanorama/ansible-deployment'
registry: 'cr.simoncor.net'
cache_from: 'siempie/ansible-deployment'
repo: 'cr.simoncor.net/siempie/ansible-deployment'
mtu: '1440'
# build stuff

View File

@ -1,13 +1,11 @@
# alpine version
FROM alpine:3.16
# software versions
ENV ANSIBLE_VERSION=2.12.10
ENV ANSIBLE_LINT_VERSION=6.16.0
ENV YAML_LINT_VERSION=1.30.0
# install software
RUN apk update
RUN apk add --no-cache \
@ -20,11 +18,9 @@ RUN apk add --no-cache \
python3-dev \
py3-pip
# cleanup
RUN rm -rf /var/cache/apk/*
# install ansible + linters
RUN pip3 install --upgrade pip
RUN pip3 install --use-pep517 --ignore-installed \
@ -32,7 +28,6 @@ RUN pip3 install --use-pep517 --ignore-installed \
ansible-lint==${ANSIBLE_LINT_VERSION} \
yamllint==${YAML_LINT_VERSION}
# install ansible collections
RUN ansible-galaxy collection install ansible.posix
RUN ansible-galaxy collection install community.docker