[bitnami/golang] Release 1.26.2-debian-12-r1 (#92753)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2026-05-02 21:40:58 +02:00
committed by GitHub
parent 898ea6913e
commit e80d343afc
2 changed files with 9 additions and 23 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
ARG TARGETARCH
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2026-04-08T01:39:21Z" \
org.opencontainers.image.created="2026-05-02T19:06:21Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/golang/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/golang" \
@@ -47,7 +47,7 @@ ENV APP_VERSION="1.26.2" \
BITNAMI_APP_NAME="golang" \
GOCACHE="/go/.cache" \
GOPATH="/go" \
IMAGE_REVISION="0" \
IMAGE_REVISION="1" \
PATH="/go/bin:/opt/bitnami/go/bin:$PATH"
WORKDIR $GOPATH
+7 -21
View File
@@ -11,6 +11,12 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
docker run --name golang bitnami/golang:latest
```
## Using `docker-compose.yml`
The docker-compose.yaml file of this container can be found in the [Bitnami Containers repository](https://github.com/bitnami/containers/).
[https://github.com/bitnami/containers/tree/main/bitnami/golang/docker-compose.yml](https://github.com/bitnami/containers/tree/main/bitnami/golang/docker-compose.yml)
## Why use Bitnami Secure Images?
Those are hardened, minimal CVE images built and maintained by Bitnami. Bitnami Secure Images are based on the cloud-optimized, security-hardened enterprise [OS Photon Linux](https://vmware.github.io/photon/). Why choose BSI images?
@@ -36,10 +42,6 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
The Bitnami Golang Docker image is only available to [Bitnami Secure Images](https://bitnami.com) customers.
## Using `docker-compose.yaml`
Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes.
## Persisting your application
For persistence you should mount a directory at the `/bitnami` path. If the mounted directory is empty, it will be initialized on the first run.
@@ -50,16 +52,6 @@ docker run \
bitnami/golang:latest
```
You can also do this with a minor change to the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/golang/docker-compose.yml) file present in this repository:
```yaml
golang:
...
volumes:
- /path/to/golang-persistence:/bitnami
...
```
## Connecting to other containers
Using [Docker container networking](https://docs.docker.com/engine/userguide/networking/), a different server running inside a container can easily be accessed by your application containers and vice-versa.
@@ -90,13 +82,7 @@ The Bitnami Golang Docker image from the [Bitnami Secure Images](https://go-vmwa
## Logging
The Bitnami Golang Docker image sends the container logs to `stdout`. To view the logs:
```console
docker logs golang
```
You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver.
The Bitnami Golang Docker image sends the container logs to the `stdout`. You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver.
## License