mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 18:04:55 +02:00
2.7.6-debian-11-r0 release
This commit is contained in:
committed by
Bitnami Containers
parent
6641238b45
commit
5e30d88cd4
@@ -0,0 +1,31 @@
|
||||
FROM docker.io/bitnami/minideb:bullseye
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-11" \
|
||||
OS_NAME="linux"
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl groff-base gzip libbz2-1.0 libc6 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl1.1 libtinfo6 libtirpc3 procps tar wget zlib1g
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-3.9.13-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "30a95e9a200ac61754319a6ef764709a3c2e08f6fe21433bf935038f7308a7fb /tmp/bitnami/pkg/cache/python-3.9.13-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/python-3.9.13-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/python-3.9.13-0-linux-amd64-debian-11.tar.gz
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/aws-cli-2.7.6-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "c20ca01e3c7705cdd7dbb1a6aadf13022f83ccfed76d31d8984ddbd031a25fc4 /tmp/bitnami/pkg/cache/aws-cli-2.7.6-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/aws-cli-2.7.6-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/aws-cli-2.7.6-0-linux-amd64-debian-11.tar.gz
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
RUN chmod g+rwX /opt/bitnami
|
||||
|
||||
ENV APP_VERSION="2.7.6" \
|
||||
AWS_CA_BUNDLE="/etc/ssl/certs/ca-certificates.crt" \
|
||||
BITNAMI_APP_NAME="aws-cli" \
|
||||
PATH="/opt/bitnami/python/bin:/opt/bitnami/aws-cli/bin:/opt/bitnami/aws-cli/venv/bin:$PATH"
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "aws" ]
|
||||
CMD [ "--help" ]
|
||||
@@ -0,0 +1,4 @@
|
||||
version: '2'
|
||||
services:
|
||||
aws-cli:
|
||||
image: docker.io/bitnami/aws-cli:2
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"aws-cli": {
|
||||
"arch": "amd64",
|
||||
"digest": "c20ca01e3c7705cdd7dbb1a6aadf13022f83ccfed76d31d8984ddbd031a25fc4",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "2.7.6-0"
|
||||
},
|
||||
"python": {
|
||||
"arch": "amd64",
|
||||
"digest": "30a95e9a200ac61754319a6ef764709a3c2e08f6fe21433bf935038f7308a7fb",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "3.9.13-0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
Bitnami containers ship with software bundles. You can find the licenses under:
|
||||
/opt/bitnami/nami/COPYING
|
||||
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
set -u
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
n=0
|
||||
max=2
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get update -qq &&
|
||||
apt-get install -y --no-install-recommends "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
@@ -28,8 +28,8 @@ $ docker run --name aws-cli bitnami/aws-cli:latest
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`2`, `2-debian-10`, `2.7.6`, `2.7.6-debian-10-r2`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-aws-cli/blob/2.7.6-debian-10-r2/2/debian-10/Dockerfile)
|
||||
* [`1`, `1-debian-10`, `1.25.2`, `1.25.2-debian-10-r2` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-aws-cli/blob/1.25.2-debian-10-r2/1/debian-10/Dockerfile)
|
||||
* [`2`, `2-debian-11`, `2.7.6`, `2.7.6-debian-11-r0`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-aws-cli/blob/2.7.6-debian-11-r0/2/debian-11/Dockerfile)
|
||||
* [`1`, `1-debian-11`, `1.25.2`, `1.25.2-debian-11-r-1` (1/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-aws-cli/blob/1.25.2-debian-11-r-1/1/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/aws-cli GitHub repo](https://github.com/bitnami/bitnami-docker-aws-cli).
|
||||
|
||||
@@ -50,7 +50,7 @@ $ docker pull bitnami/aws-cli:[TAG]
|
||||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/aws-cli:latest 'https://github.com/bitnami/bitnami-docker-aws-cli.git#master:2/debian-10'
|
||||
$ docker build -t bitnami/aws-cli:latest 'https://github.com/bitnami/bitnami-docker-aws-cli.git#master:2/debian-11'
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
Reference in New Issue
Block a user