Skip to content

Commit

Permalink
Use fully qualified image references in Tekton tests (knative#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgencur authored May 11, 2021
1 parent 265ecba commit 7b46654
Showing 1 changed file with 2 additions and 2 deletions.
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 golang:1.13 as builder
FROM docker.io/library/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 alpine:3
FROM docker.io/library/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 7b46654

Please sign in to comment.