Skip to content

Commit

Permalink
🔥 Apply carried patches.
Browse files Browse the repository at this point in the history
  • Loading branch information
serverless-qe committed Nov 16, 2024
1 parent c50e374 commit 9bb6861
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ko.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defaultBaseImage: gcr.io/distroless/static:nonroot
defaultBaseImage: registry.access.redhat.com/ubi8/ubi-minimal:latest
baseImageOverrides:
knative.dev/client/cmd/kn: docker.io/library/alpine:latest
builds:
Expand Down
4 changes: 2 additions & 2 deletions test/test_images/helloworld/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Use the official Golang image to create a build artifact.
# This is based on Debian and sets the GOPATH to /go.
# https://hub.docker.com/_/golang
FROM docker.io/library/golang:1.13 as builder
FROM quay.io/openshift-knative/golang:1.13 as builder

# Create and change to the app directory.
WORKDIR /app
Expand All @@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -v -o server
# Use the official Alpine image for a lean production container.
# https://hub.docker.com/_/alpine
# https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds
FROM docker.io/library/alpine:3
FROM quay.io/openshift-knative/alpine:3
RUN apk add --no-cache ca-certificates

# Copy the binary to the production image from the builder stage.
Expand Down

0 comments on commit 9bb6861

Please sign in to comment.