mirror of
https://github.com/bitnami/containers.git
synced 2026-10-18 07:54:02 +02:00
[bitnami/golang] Release 1.18.10-debian-11-r14 (#24239)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -2,11 +2,11 @@ FROM docker.io/bitnami/minideb:bullseye
|
||||
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2023-02-17T14:49:18Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="1.18.10-debian-11-r13" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/golang" \
|
||||
org.opencontainers.image.ref.name="1.18.10-debian-11-r14" \
|
||||
org.opencontainers.image.title="golang" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="1.18.10"
|
||||
@@ -21,7 +21,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
RUN install_packages build-essential ca-certificates curl git pkg-config procps unzip
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
COMPONENTS=( \
|
||||
"golang-1.18.10-1-linux-${OS_ARCH}-debian-11" \
|
||||
"golang-1.18.10-2-linux-${OS_ARCH}-debian-11" \
|
||||
) && \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"golang": {
|
||||
"arch": "amd64",
|
||||
"digest": "7634d4e150658bc5c6bc1b286e420aea0eae8872306040015f7ace7e02ca5e7b",
|
||||
"digest": "e31f775cba9f04573415acbc42381b751200bd83ee3348740cfe58b0f3da2fec",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.18.10-1"
|
||||
"version": "1.18.10-2"
|
||||
}
|
||||
}
|
||||
@@ -113,7 +113,7 @@ We can launch another containers using the same flag (`--network NETWORK`) in th
|
||||
The default workspace for the Bitnami Golang image is `/go` (GOPATH, consult [Golang documentation](https://golang.org/doc/gopath_code#Workspaces) for more info about workspaces). You can mount your custom Golang project from your host, and run it normally using the `go` command.
|
||||
|
||||
```console
|
||||
docker -it --name golang run \
|
||||
$ docker -it --name golang run \
|
||||
-v /path/to/your/project:/go/src/project \
|
||||
bitnami/golang \
|
||||
bash -ec 'cd src/project && go run .'
|
||||
|
||||
Reference in New Issue
Block a user