We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2efe549 commit 2ae7897Copy full SHA for 2ae7897
openshift-app-sample/Dockerfile
@@ -1,5 +1,6 @@
1
- FROM golang:1.21.1 as builder
2
- ENV APP_HOME /go/src/openshift-app-sample
+ FROM registry.access.redhat.com/ubi8/go-toolset:1.21 AS builder
+ ENV APP_HOME=/go/src/openshift-app-sample
3
+ USER 0
4
RUN mkdir -p /opt/mqm \
5
&& chmod a+rx /opt/mqm
6
# Location of the downloadable MQ client package \
@@ -22,9 +23,10 @@
22
23
COPY src/ .
24
RUN go build -o openshift-app-sample
25
- FROM golang:1.21.1
26
+ FROM registry.access.redhat.com/ubi8/go-toolset:1.21
27
28
# Create the directories the client expects to be present
29
30
RUN mkdir -p $APP_HOME \
31
&& mkdir -p /IBM/MQ/data/errors \
32
&& mkdir -p /.mqm \
0 commit comments