1.17.11-debian-11-r0 release
This commit is contained in:
parent
68e8dabf03
commit
ba97acceca
|
|
@ -0,0 +1,26 @@
|
|||
FROM docker.io/bitnami/minideb:bullseye
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-11" \
|
||||
OS_NAME="linux"
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages build-essential ca-certificates curl git gzip libc6 pkg-config procps tar unzip wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/golang-1.17.11-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "25407943d9301e1a59aef31e7be88232c9c75fe6ebb8d81631f47785afca0a1a /tmp/bitnami/pkg/cache/golang-1.17.11-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/golang-1.17.11-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/golang-1.17.11-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 mkdir -p "/go/src" "/go/bin" && chmod -R 777 "/go"
|
||||
|
||||
ENV APP_VERSION="1.17.11" \
|
||||
BITNAMI_APP_NAME="golang" \
|
||||
GOCACHE="/go/.cache" \
|
||||
GOPATH="/go" \
|
||||
PATH="/go/bin:/opt/bitnami/go/bin:$PATH"
|
||||
|
||||
WORKDIR $GOPATH
|
||||
CMD [ "bash" ]
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
version: '2'
|
||||
services:
|
||||
golang:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: docker.io/bitnami/golang:1.17
|
||||
command: ["sleep", "infinity"] # To keep the container running
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"golang": {
|
||||
"arch": "amd64",
|
||||
"digest": "25407943d9301e1a59aef31e7be88232c9c75fe6ebb8d81631f47785afca0a1a",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.17.11-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
|
||||
|
|
@ -35,8 +35,8 @@ $ docker-compose up -d
|
|||
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/).
|
||||
|
||||
|
||||
* [`1.18`, `1.18-debian-10`, `1.18.3`, `1.18.3-debian-10-r4`, `latest` (1.18/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.18.3-debian-10-r4/1.18/debian-10/Dockerfile)
|
||||
* [`1.17`, `1.17-debian-10`, `1.17.11`, `1.17.11-debian-10-r4` (1.17/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.17.11-debian-10-r4/1.17/debian-10/Dockerfile)
|
||||
* [`1.18`, `1.18-debian-11`, `1.18.3`, `1.18.3-debian-11-r-1`, `latest` (1.18/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.18.3-debian-11-r-1/1.18/debian-11/Dockerfile)
|
||||
* [`1.17`, `1.17-debian-11`, `1.17.11`, `1.17.11-debian-11-r0` (1.17/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.17.11-debian-11-r0/1.17/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/golang GitHub repo](https://github.com/bitnami/bitnami-docker-golang).
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ $ docker pull bitnami/golang:[TAG]
|
|||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/golang:latest 'https://github.com/bitnami/bitnami-docker-golang.git#master:1.18/debian-10'
|
||||
$ docker build -t bitnami/golang:latest 'https://github.com/bitnami/bitnami-docker-golang.git#master:1.18/debian-11'
|
||||
```
|
||||
|
||||
## Persisting your application
|
||||
|
|
|
|||
Loading…
Reference in New Issue