Skip to content

Commit 49c7223

Browse files
authored
bump to latest rhel images, alpine 3.12 and go 1.13 (eclipse-che#27)
Change-Id: I9abbaf6fdb33b8280205c20a3bc90b79c6f7aeb5 Signed-off-by: nickboldt <[email protected]> [base] Update from devtools/go-toolset-rhel7:1.12.12-3.1582636125 to devtools/go-toolset-rhel7:1.13.4-18 Change-Id: I1d9764282c8b5afa791990f4b7b8d3b9a63b5931 Signed-off-by: nickboldt <[email protected]> [base] Update from rhel8/go-toolset:1.12.8-45 to rhel8/go-toolset:1.13.4-15 Change-Id: I549131e409ac9093875dc6fd47af665057ed5cc5 Signed-off-by: nickboldt <[email protected]> [base] Update from ubi8-minimal:8.1-409 to ubi8-minimal:8.2-267 Change-Id: I95e960d60889b905ce7b16506a9b98e795d1d890 Signed-off-by: nickboldt <[email protected]>
1 parent 1ff5cc0 commit 49c7223

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/dockerfiles/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
# Red Hat, Inc. - initial API and implementation
1111
#
1212

13-
FROM golang:1.12-alpine3.9 as builder
13+
FROM golang:1.13-alpine3.12 as builder
1414
RUN apk add --no-cache ca-certificates
1515
RUN adduser -D -g '' appuser
1616
WORKDIR /go/src/github.com/eclipse/che-jwtproxy/
1717
COPY . /go/src/github.com/eclipse/che-jwtproxy/
1818
RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o jwtproxy cmd/jwtproxy/main.go
1919

20-
FROM alpine:3.9
20+
FROM alpine:3.12
2121
USER appuser
2222
COPY --from=builder /etc/passwd /etc/passwd
2323
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

build/dockerfiles/rhel.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# UPSTREAM: use devtools/go/-toolset-rhel7 image so we're not required to authenticate with registry.redhat.io
1313
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/devtools/go-toolset-rhel7
1414
FROM registry.access.redhat.com/devtools/go-toolset-rhel7:1.13.4-18 as builder
15-
ENV PATH=/opt/rh/go-toolset-1.12/root/usr/bin:$PATH
15+
ENV PATH=/opt/rh/go-toolset-1.13/root/usr/bin:$PATH
1616
# DOWNSTREAM: use rhel8/go-toolset; no path modification needed
1717
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/rhel8/go-toolset
1818
# FROM registry.redhat.io/rhel8/go-toolset:1.13.4-15 as builder

0 commit comments

Comments
 (0)