diff --git a/aws-alpine/Dockerfile b/aws-alpine/Dockerfile new file mode 100644 index 000000000..685c28b0e --- /dev/null +++ b/aws-alpine/Dockerfile @@ -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 \ No newline at end of file diff --git a/aws-alpine/config.yml b/aws-alpine/config.yml new file mode 100644 index 000000000..625bbc836 --- /dev/null +++ b/aws-alpine/config.yml @@ -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