-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SYS-576 use ansible import_tasks in place of include; update python-b…
…uilder images (#117)
- Loading branch information
1 parent
fdd847d
commit 0c73a04
Showing
16 changed files
with
1,834 additions
and
1,320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ansible==4.9.0 | ||
ansible-lint==5.2.1 | ||
pip==21.3.1 | ||
ansible==8.2.0 | ||
ansible-lint==6.17.2 | ||
pip==23.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[Unit] | ||
RequiresMountsFor={{ docker_volumewait }} | ||
|
||
[Service] | ||
ExecStart= | ||
ExecStart=/usr/bin/dockerd {{ docker.cli_opts }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
# main.yml | ||
|
||
- include: packages.yml | ||
- import_tasks: packages.yml | ||
|
||
- name: Local nagios plugins path | ||
file: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.15 | ||
FROM alpine:3.18 | ||
MAINTAINER Rich Braun "[email protected]" | ||
ARG BUILD_DATE | ||
ARG VCS_REF | ||
|
@@ -14,33 +14,31 @@ ENV BUILD_DIR=/build \ | |
PYTHONPATH= \ | ||
TZ=UTC | ||
|
||
ARG BUILDX_VERSION=0.7.1 | ||
ARG COMPOSE_VERSION=1.29.2 | ||
ARG HELM_VERSION=3.9.0-r1 | ||
ARG KUBECTL_VERSION=1.20.4 | ||
ARG MUSL_VERSION=1.2.2-r7 | ||
ARG PIP_VERSION=20.2.3 | ||
ARG PYTHON_VERSION=3.9.7-r4 | ||
ARG PYCRYPTOGRAPHY_VERSION=3.3.2-r3 | ||
ARG PYPILLOW_VERSION=8.4.0-r3 | ||
ARG BUILDX_VERSION=0.11.2 | ||
ARG COMPOSE_VERSION=2.20.2 | ||
ARG HELM_VERSION=3.11.3-r0 | ||
ARG KUBECTL_VERSION=1.27.4 | ||
ARG MUSL_VERSION=1.2.4-r1 | ||
ARG PIP_VERSION=23.2.1 | ||
ARG PYTHON_VERSION=3.11.4-r0 | ||
ARG PYCRYPTOGRAPHY_VERSION=40.0.2-r1 | ||
ARG PYPILLOW_VERSION=9.5.0-r1 | ||
ARG _DOCKER_DOWNLOADS=https://github.com/docker/compose/releases/download | ||
ARG _KUBECTL_DOWNLOADS=https://storage.googleapis.com/kubernetes-release/release | ||
ARG _BUILDX_URL=https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION}/buildx-v${BUILDX_VERSION}.linux-amd64 | ||
ARG _COMPOSE_URL=${_DOCKER_DOWNLOADS}/${COMPOSE_VERSION}/docker-compose-Linux-x86_64 | ||
ARG _COMPOSE_URL=${_DOCKER_DOWNLOADS}/v${COMPOSE_VERSION}/docker-compose-linux-x86_64 | ||
ARG _KUBECTL_URL=${_KUBECTL_DOWNLOADS}/v$KUBECTL_VERSION/bin/linux/amd64/kubectl | ||
ARG DOCKER_GID=485 | ||
ARG BUILD_UID=1001 | ||
ARG BUILDX_SHA=22fcb78c66905bf6ddf198118aaa9838b0349a25347606264be17e4276d6d5fc | ||
ARG COMPOSE_SHA=f3f10cf3dbb8107e9ba2ea5f23c1d2159ff7321d16f0a23051d68d8e2547b323 | ||
ARG KUBECTL_SHA=98e8aea149b00f653beeb53d4bd27edda9e73b48fed156c4a0aa1dabe4b1794c | ||
ARG BUILDX_SHA=311568ee69715abc46163fd688e56c77ab0144ff32e116d0f293bfc3470e75b7 | ||
ARG COMPOSE_SHA=b9385dabb7931636a3afc0aee94625ebff3bb29584493a87804afb6ebaf2d916 | ||
ARG KUBECTL_SHA=4685bfcf732260f72fce58379e812e091557ef1dfc1bc8084226c7891dd6028f | ||
|
||
COPY Pipfile* /root/ | ||
|
||
RUN addgroup -g $DOCKER_GID docker && \ | ||
adduser -D -h $BUILD_DIR -u $BUILD_UID -G docker \ | ||
-s /bin/bash $BUILD_USER && \ | ||
echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' \ | ||
>>/etc/apk/repositories && \ | ||
apk add --update --no-cache \ | ||
bash curl docker-cli gcc gettext git gzip jq libffi-dev make \ | ||
musl==$MUSL_VERSION musl-dev==$MUSL_VERSION openssh-client \ | ||
|
@@ -49,7 +47,7 @@ RUN addgroup -g $DOCKER_GID docker && \ | |
py3-pycryptodomex py3-flask py3-flask-babel py3-greenlet \ | ||
py3-itsdangerous py3-passlib \ | ||
py3-pillow=$PYPILLOW_VERSION py3-pip py3-requests py3-virtualenv \ | ||
helm@testing=$HELM_VERSION sqlite tar tzdata wget && \ | ||
helm=$HELM_VERSION sqlite tar tzdata wget && \ | ||
cp /usr/share/zoneinfo/$TZ /etc/localtime && \ | ||
echo $TZ >/etc/timezone && \ | ||
mkdir -p /usr/lib/docker/cli-plugins && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.