Skip to content

Commit ec7e989

Browse files
committed
Update base image
1 parent 55a28f5 commit ec7e989

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

Dockerfile

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/nodejs-14:1-63 as web-builder
1+
FROM registry.access.redhat.com/ubi8/nodejs-14:1 as web-builder
22

33
WORKDIR /opt/app-root
44

@@ -10,15 +10,7 @@ COPY mocks mocks
1010

1111
RUN NPM_INSTALL=ci make build-frontend
1212

13-
FROM registry.access.redhat.com/ubi8/go-toolset:1.16.7-5 as go-builder
14-
15-
WORKDIR /tmp
16-
17-
# TEMPORARY STEPS UNTIL ubi8 releases a go1.17 image
18-
RUN wget -q https://go.dev/dl/go1.17.7.linux-amd64.tar.gz && tar -xzf go1.17.7.linux-amd64.tar.gz
19-
ENV GOROOT /tmp/go
20-
ENV PATH $GOROOT/bin:$PATH
21-
# END OF LINES TO REMOVE
13+
FROM registry.access.redhat.com/ubi8/go-toolset:1.17.7 as go-builder
2214

2315
WORKDIR /opt/app-root
2416

@@ -32,7 +24,7 @@ COPY pkg/ pkg/
3224

3325
RUN make build-backend
3426

35-
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.5-240.1648458092
27+
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.6
3628

3729
COPY --from=web-builder /opt/app-root/web/dist ./web/dist
3830
COPY --from=go-builder /opt/app-root/plugin-backend ./

0 commit comments

Comments
 (0)