File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
test/test_images/helloworld Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- defaultBaseImage : gcr.io/distroless/static:nonroot
1
+ defaultBaseImage : registry.access.redhat.com/ubi8/ubi-minimal:latest
2
2
baseImageOverrides :
3
3
knative.dev/client/cmd/kn : docker.io/library/alpine:latest
4
4
builds :
Original file line number Diff line number Diff line change 1
1
# Use the official Golang image to create a build artifact.
2
2
# This is based on Debian and sets the GOPATH to /go.
3
3
# https://hub.docker.com/_/golang
4
- FROM docker .io/library /golang:1.13 as builder
4
+ FROM quay .io/openshift-knative /golang:1.13 as builder
5
5
6
6
# Create and change to the app directory.
7
7
WORKDIR /app
@@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -v -o server
15
15
# Use the official Alpine image for a lean production container.
16
16
# https://hub.docker.com/_/alpine
17
17
# https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds
18
- FROM docker .io/library /alpine:3
18
+ FROM quay .io/openshift-knative /alpine:3
19
19
RUN apk add --no-cache ca-certificates
20
20
21
21
# Copy the binary to the production image from the builder stage.
You can’t perform that action at this time.
0 commit comments