Skip to content

Commit 3135240

Browse files
committed
chore : fix Dockerfile to use fully qualified image name
+ Update Dockerfile to use fully qualified base image name with registry prefix in order to be used by podman. + Update runner image to use Red Hat UBI9 image + Replace Entrypoint instruction to use exec form instead of shell form Signed-off-by: Rohan Kumar <rohaan@redhat.com>
1 parent 118f942 commit 3135240

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

images/builder/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Build the manager binary
22
# FROM registry.access.redhat.com/ubi8/go-toolset:1.17.7 as builder
3-
FROM golang:1.18 as builder
3+
FROM registry.access.redhat.com/ubi9/go-toolset:1.22.9-1743094161 AS builder
44

55
USER root
66
WORKDIR /workspace
77
COPY . .
88
RUN make build
99

10-
FROM registry.access.redhat.com/ubi8/ubi-minimal
10+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5-1742914212
1111

12-
LABEL MAINTAINER "Adrian Riobo" "<ariobolo@redhat.com>"
12+
LABEL MAINTAINER="Adrian Riobo <ariobolo@redhat.com>"
1313

1414
COPY --from=builder /workspace/out/eventmanager /workspace/images/builder/entrypoint.sh /usr/local/bin/
1515

16-
ENTRYPOINT entrypoint.sh
16+
ENTRYPOINT ["entrypoint.sh"]

0 commit comments

Comments
 (0)