Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Dockerfile.bootstrap-prefix-debian-11
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# stick to awscli v1.x, 2.x is not available through PyPI (see https://github.com/aws/aws-cli/issues/4947)
ARG awscliversion=1.32.22

FROM debian:11-slim
ARG awscliversion

COPY bootstrap-prefix.sh /usr/local/bin/bootstrap-prefix.sh

Expand All @@ -12,6 +16,14 @@ RUN python3 -m venv --system-site-packages /opt/ansible && \
ln -s /opt/ansible/bin/ansible* /usr/local/bin/ && \
deactivate
RUN chmod 755 /usr/local/bin/bootstrap-prefix.sh
# tools for deploying tarballs
RUN apt-get install -y curl jq
RUN python3 -m venv --system-site-packages /opt/awscli && \
. /opt/awscli/bin/activate && \
pip3 install --upgrade pip && \
pip3 install awscli==${awscliversion} && \
ln -s /opt/awscli/bin/aws /usr/local/bin/ && \
deactivate

ENV LC_ALL=C.UTF-8
ENV PATH=/usr/local/bin:$PATH
Expand Down
12 changes: 12 additions & 0 deletions Dockerfile.bootstrap-prefix-debian-13
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# stick to awscli v1.x, 2.x is not available through PyPI (see https://github.com/aws/aws-cli/issues/4947)
ARG awscliversion=1.32.22

FROM debian:trixie-20250520-slim
ARG awscliversion

COPY bootstrap-prefix.sh /usr/local/bin/bootstrap-prefix.sh

Expand All @@ -12,6 +16,14 @@ RUN python3 -m venv --system-site-packages /opt/ansible && \
ln -s /opt/ansible/bin/ansible* /usr/local/bin/ && \
deactivate
RUN chmod 755 /usr/local/bin/bootstrap-prefix.sh
# tools for deploying tarballs
RUN apt-get install -y curl jq
RUN python3 -m venv --system-site-packages /opt/awscli && \
. /opt/awscli/bin/activate && \
pip3 install --upgrade pip && \
pip3 install awscli==${awscliversion} && \
ln -s /opt/awscli/bin/aws /usr/local/bin/ && \
deactivate

ENV LC_ALL=C.UTF-8
ENV PATH=/usr/local/bin:$PATH
Expand Down
Loading