File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
# Red Hat, Inc. - initial API and implementation
11
11
#
12
12
13
- FROM golang:1.12 -alpine3.9 as builder
13
+ FROM golang:1.13 -alpine3.12 as builder
14
14
RUN apk add --no-cache ca-certificates
15
15
RUN adduser -D -g '' appuser
16
16
WORKDIR /go/src/github.com/eclipse/che-jwtproxy/
17
17
COPY . /go/src/github.com/eclipse/che-jwtproxy/
18
18
RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o jwtproxy cmd/jwtproxy/main.go
19
19
20
- FROM alpine:3.9
20
+ FROM alpine:3.12
21
21
USER appuser
22
22
COPY --from=builder /etc/passwd /etc/passwd
23
23
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
Original file line number Diff line number Diff line change 12
12
# UPSTREAM: use devtools/go/-toolset-rhel7 image so we're not required to authenticate with registry.redhat.io
13
13
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/devtools/go-toolset-rhel7
14
14
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
16
16
# DOWNSTREAM: use rhel8/go-toolset; no path modification needed
17
17
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/rhel8/go-toolset
18
18
# FROM registry.redhat.io/rhel8/go-toolset:1.13.4-15 as builder
You can’t perform that action at this time.
0 commit comments