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
22baseImageOverrides :
33 knative.dev/client/cmd/kn : docker.io/library/alpine:latest
44builds :
Original file line number Diff line number Diff line change 11# Use the official Golang image to create a build artifact.
22# This is based on Debian and sets the GOPATH to /go.
33# 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
55
66# Create and change to the app directory.
77WORKDIR /app
@@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -v -o server
1515# Use the official Alpine image for a lean production container.
1616# https://hub.docker.com/_/alpine
1717# 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
1919RUN apk add --no-cache ca-certificates
2020
2121# Copy the binary to the production image from the builder stage.
You can’t perform that action at this time.
0 commit comments