mirror of
https://github.com/bitnami/containers.git
synced 2026-03-25 15:27:42 +08:00
1.14.2-debian-10-r27 release
This commit is contained in:
@@ -3,7 +3,7 @@ LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|||||||
|
|
||||||
COPY prebuildfs /
|
COPY prebuildfs /
|
||||||
# Install required system packages and dependencies
|
# 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 && \
|
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 - && \
|
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' && \
|
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"
|
RUN mkdir -p "/go/src" "/go/bin" && chmod -R 777 "/go"
|
||||||
|
|
||||||
ENV BITNAMI_APP_NAME="golang" \
|
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" \
|
GOPATH="/go" \
|
||||||
|
OS_ARCH="amd64" \
|
||||||
|
OS_FLAVOUR="debian-10" \
|
||||||
|
OS_NAME="linux" \
|
||||||
PATH="/go/bin:/opt/bitnami/go/bin:$PATH"
|
PATH="/go/bin:/opt/bitnami/go/bin:$PATH"
|
||||||
|
|
||||||
WORKDIR $GOPATH
|
WORKDIR $GOPATH
|
||||||
|
|||||||
24
bitnami/golang/1.14/debian-10/prebuildfs/usr/sbin/install_packages
Executable file
24
bitnami/golang/1.14/debian-10/prebuildfs/usr/sbin/install_packages
Executable file
@@ -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/).
|
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.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).
|
Subscribe to project updates by watching the [bitnami/golang GitHub repo](https://github.com/bitnami/bitnami-docker-golang).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user