Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP][AWS-ALPINE] Feat : add new image for aws on alpine #1120

Closed
wants to merge 1 commit into from
Closed
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
19 changes: 19 additions & 0 deletions aws-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM python:3.11-alpine@sha256:4e8e9a59bf1b3ca8e030244bc5f801f23e41e37971907371da21191312087a07 AS aws-builder

ENV AWSCLI_VERSION=2.11.18

RUN apk add --no-cache \
curl \
make \
cmake \
gcc \
g++ \
libc-dev \
libffi-dev \
openssl-dev
RUN pip3 install --no-cache --upgrade pip setuptools wheel
RUN curl https://awscli.amazonaws.com/awscli-$AWSCLI_VERSION.tar.gz | tar -xz
RUN cd awscli-$AWSCLI_VERSION \
&& ./configure --bindir=/usr/local/bin --prefix=/aws-cli/ --with-download-deps --with-install-type=portable-exe \
&& make \
&& make install
14 changes: 14 additions & 0 deletions aws-alpine/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
test_config: &test_config
cmd:
- aws --version

versions:
"1":
platforms:
#- linux/amd64
- linux/arm64
test_config: *test_config
build_args:
ALPINE_VERSION: 3.17
AWS_CLI_VERSION: 2.11.11
GLIBC_VERSION: 2.29-r0
Loading