1.14.2-debian-10-r27 release
This commit is contained in:
parent
51fa1d49f8
commit
caa3e9453a
|
|
@ -3,7 +3,7 @@ LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages build-essential ca-certificates curl git libc6 pkg-config procps sudo unzip wget
|
||||
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.14.2-0-linux-amd64-debian-10.tar.gz && \
|
||||
echo "29c7a0a6c191a5c18066c0b4dca8beab4f0637e011184f1665daf259e0560dfa /tmp/bitnami/pkg/cache/golang-1.14.2-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/golang-1.14.2-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
|
|
@ -13,8 +13,11 @@ RUN apt-get update && apt-get upgrade -y && \
|
|||
RUN mkdir -p "/go/src" "/go/bin" && chmod -R 777 "/go"
|
||||
|
||||
ENV BITNAMI_APP_NAME="golang" \
|
||||
BITNAMI_IMAGE_VERSION="1.14.2-debian-10-r26" \
|
||||
BITNAMI_IMAGE_VERSION="1.14.2-debian-10-r27" \
|
||||
GOPATH="/go" \
|
||||
OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-10" \
|
||||
OS_NAME="linux" \
|
||||
PATH="/go/bin:/opt/bitnami/go/bin:$PATH"
|
||||
|
||||
WORKDIR $GOPATH
|
||||
|
|
|
|||
|
|
@ -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,9 +33,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.14-debian-10`, `1.14.2-debian-10-r26`, `1.14`, `1.14.2`, `latest` (1.14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.14.2-debian-10-r26/1.14/debian-10/Dockerfile)
|
||||
* [`1.14-debian-10`, `1.14.2-debian-10-r27`, `1.14`, `1.14.2`, `latest` (1.14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.14.2-debian-10-r27/1.14/debian-10/Dockerfile)
|
||||
* [`1.13-debian-10`, `1.13.10-debian-10-r26`, `1.13`, `1.13.10` (1.13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.13.10-debian-10-r26/1.13/debian-10/Dockerfile)
|
||||
* [`1.12-debian-10`, `1.12.17-debian-10-r34`, `1.12`, `1.12.17` (1.12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-golang/blob/1.12.17-debian-10-r34/1.12/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/golang GitHub repo](https://github.com/bitnami/bitnami-docker-golang).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue