Skip to content

Commit

Permalink
merge repos
Browse files Browse the repository at this point in the history
  • Loading branch information
janosmiko committed Dec 29, 2023
1 parent a02b09b commit ace4ee5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 5 additions & 2 deletions images/ansible/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ RUN set -eux \
python3 \
python3-pip \
python3-setuptools \
&& pip3 install --upgrade pip \
&& pip3 install --no-cache-dir \
&& PIP_ARGS="" \
&& eval 'version_gt() { test "$(printf "%s\n" "$@" | sort -V | head -n 1)" != "$1"; }' \
&& if version_gt "$(cat /etc/os-release | grep 'VERSION_ID=' | cut -d'=' -f2)" "11.99"; then PIP_ARGS="--break-system-packages"; fi \
&& pip3 install --upgrade pip ${PIP_ARGS} \
&& pip3 install --no-cache-dir ${PIP_ARGS} \
'ansible<2.11' \
'hcloud' \
&& rm -rf /var/lib/apt/lists/*
5 changes: 4 additions & 1 deletion images/aws/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ RUN set -eux \
python3 \
python3-pip \
python3-setuptools \
&& pip3 install --no-cache-dir \
&& PIP_ARGS="" \
&& eval 'version_gt() { test "$(printf "%s\n" "$@" | sort -V | head -n 1)" != "$1"; }' \
&& if version_gt "$(cat /etc/os-release | grep 'VERSION_ID=' | cut -d'=' -f2)" "11.99"; then PIP_ARGS="--break-system-packages"; fi \
&& pip3 install --no-cache-dir ${PIP_ARGS} \
awscli \
&& rm -rf /var/lib/apt/lists/*
5 changes: 4 additions & 1 deletion images/extended/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ RUN set -eux \
python3 \
python3-pip \
python3-setuptools \
&& pip3 install --no-cache-dir \
&& PIP_ARGS="" \
&& eval 'version_gt() { test "$(printf "%s\n" "$@" | sort -V | head -n 1)" != "$1"; }' \
&& if version_gt "$(cat /etc/os-release | grep 'VERSION_ID=' | cut -d'=' -f2)" "11.99"; then PIP_ARGS="--break-system-packages"; fi \
&& pip3 install --no-cache-dir ${PIP_ARGS} \
awscli \
&& curl -fsSLo /tmp/google-cloud-sdk.tar.gz \
https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz \
Expand Down

0 comments on commit ace4ee5

Please sign in to comment.