1.16.0-debian-10-r0 release
This commit is contained in:
parent
19df1f5a9e
commit
ea5770d6b3
|
|
@ -0,0 +1,23 @@
|
|||
FROM docker.io/bitnami/minideb:buster
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-10" \
|
||||
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.16.0-0-linux-amd64-debian-10.tar.gz && \
|
||||
echo "be1909cce881aefc9f7868aa760a03049e3a0e93e083a3fc9d862840f699545d /tmp/bitnami/pkg/cache/golang-1.16.0-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/golang-1.16.0-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/golang-1.16.0-0-linux-amd64-debian-10.tar.gz
|
||||
RUN mkdir -p "/go/src" "/go/bin" && chmod -R 777 "/go"
|
||||
|
||||
ENV BITNAMI_APP_NAME="golang" \
|
||||
BITNAMI_IMAGE_VERSION="1.16.0-debian-10-r0" \
|
||||
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.16-debian-10
|
||||
command: ["sleep", "infinity"] # To keep the container running
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"golang": {
|
||||
"arch": "amd64",
|
||||
"digest": "be1909cce881aefc9f7868aa760a03049e3a0e93e083a3fc9d862840f699545d",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "1.16.0-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
|
||||
|
|
@ -33,6 +33,7 @@ $ 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.16`, `1.16-debian-10`, `1.16.0`, `1.16.0-debian-10-r0` (1.16/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.16.0-debian-10-r0/1.16/debian-10/Dockerfile)
|
||||
* [`1.15`, `1.15-debian-10`, `1.15.8`, `1.15.8-debian-10-r27` (1.15/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.15.8-debian-10-r27/1.15/debian-10/Dockerfile)
|
||||
* [`1.14`, `1.14-debian-10`, `1.14.15`, `1.14.15-debian-10-r26`, `latest` (1.14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.14.15-debian-10-r26/1.14/debian-10/Dockerfile)
|
||||
* [`1.13`, `1.13-debian-10`, `1.13.15`, `1.13.15-debian-10-r194` (1.13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.13.15-debian-10-r194/1.13/debian-10/Dockerfile)
|
||||
|
|
|
|||
Loading…
Reference in New Issue