You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM ubi8/s2i-base:rhel8.6
ENV NAME=golang \
GO_MAJOR_VERSION=1 \
GO_MINOR_VERSION=17 \
GO_PATCH_VERSION=7 \
CONTAINER_NAME="rhel8/go-toolset"# Define the VERSION environment variable in a separate step, so we can# re-use the GO_MAJOR_VERSION, GO_MINOR_VERSION and GO_PATCH_VERSION variables. ENV VERSION=$GO_MAJOR_VERSION.$GO_MINOR_VERSION.$GO_PATCH_VERSION \
SUMMARY="Platform for building and running Go Applications" \
DESCRIPTION="Go Toolset available as a container is a base platform for \building and running various Go applications and frameworks. \Go is an easy to learn, powerful, statically typed language in the C/C++ \tradition with garbage collection, concurrent programming support, and memory safety features."LABEL summary="$SUMMARY" \
description="$DESCRIPTION" \
io.k8s.description="$DESCRIPTION" \
io.k8s.display-name="Go $VERSION" \
io.openshift.tags="builder,golang,golang${GO_MAJOR_VERSION}${GO_MINOR_VERSION},rh-golang${GO_MAJOR_VERSION}${GO_MINOR_VERSION},go" \
com.redhat.component="go-toolset-container" \
com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" \
name="$CONTAINER_NAME" \
version="$VERSION"RUN INSTALL_PKGS="go-toolset" && \
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
yum clean all -y
# Copy the S2I scripts from the specific language image to $STI_SCRIPTS_PATH.COPY ./s2i/bin/ $STI_SCRIPTS_PATH
COPY ./root/ /
RUN chown -R 1001:0 $STI_SCRIPTS_PATH && chown -R 1001:0 $APP_ROOT
USER 1001
# Set the default CMD to print the usage of the language image.CMD $STI_SCRIPTS_PATH/usage
In particular, the environment variables and label metadata.
The text was updated successfully, but these errors were encountered:
From https://catalog.redhat.com/software/containers/rhel8/go-toolset/5b9c810add19c70b45cbd666?container-tabs=dockerfile:
In particular, the environment variables and label metadata.
The text was updated successfully, but these errors were encountered: