[CR] Moved image to cr.simoncor.net
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
a960eedd49
commit
085005dab1
@ -12,9 +12,9 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
|
|
||||||
# registery and repos
|
# registery and repos
|
||||||
registry: 'docker.io'
|
registry: 'cr.simoncor.net'
|
||||||
cache_from: 'rakepanorama/ansible-deployment'
|
cache_from: 'siempie/ansible-deployment'
|
||||||
repo: 'rakepanorama/ansible-deployment'
|
repo: 'cr.simoncor.net/siempie/ansible-deployment'
|
||||||
mtu: '1440'
|
mtu: '1440'
|
||||||
|
|
||||||
# build stuff
|
# build stuff
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
# alpine version
|
# alpine version
|
||||||
FROM alpine:3.16
|
FROM alpine:3.16
|
||||||
|
|
||||||
|
|
||||||
# software versions
|
# software versions
|
||||||
ENV ANSIBLE_VERSION=2.12.10
|
ENV ANSIBLE_VERSION=2.12.10
|
||||||
ENV ANSIBLE_LINT_VERSION=6.16.0
|
ENV ANSIBLE_LINT_VERSION=6.16.0
|
||||||
ENV YAML_LINT_VERSION=1.30.0
|
ENV YAML_LINT_VERSION=1.30.0
|
||||||
|
|
||||||
|
|
||||||
# install software
|
# install software
|
||||||
RUN apk update
|
RUN apk update
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
@ -20,11 +18,9 @@ RUN apk add --no-cache \
|
|||||||
python3-dev \
|
python3-dev \
|
||||||
py3-pip
|
py3-pip
|
||||||
|
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
RUN rm -rf /var/cache/apk/*
|
RUN rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
|
||||||
# install ansible + linters
|
# install ansible + linters
|
||||||
RUN pip3 install --upgrade pip
|
RUN pip3 install --upgrade pip
|
||||||
RUN pip3 install --use-pep517 --ignore-installed \
|
RUN pip3 install --use-pep517 --ignore-installed \
|
||||||
@ -32,7 +28,6 @@ RUN pip3 install --use-pep517 --ignore-installed \
|
|||||||
ansible-lint==${ANSIBLE_LINT_VERSION} \
|
ansible-lint==${ANSIBLE_LINT_VERSION} \
|
||||||
yamllint==${YAML_LINT_VERSION}
|
yamllint==${YAML_LINT_VERSION}
|
||||||
|
|
||||||
|
|
||||||
# install ansible collections
|
# install ansible collections
|
||||||
RUN ansible-galaxy collection install ansible.posix
|
RUN ansible-galaxy collection install ansible.posix
|
||||||
RUN ansible-galaxy collection install community.docker
|
RUN ansible-galaxy collection install community.docker
|
||||||
|
Loading…
Reference in New Issue
Block a user