From adb6bdff74301d91e25ebafc27563dc8273ff72d Mon Sep 17 00:00:00 2001 From: Martin Gencur Date: Mon, 10 May 2021 14:40:00 +0200 Subject: [PATCH] Fully qualified test images (#1307) * Use fully qualified image references in helloworld Dockerfile * TMP: Run tekton tests in pre-submit * remove this when the tekton tests pass * TMP: Use mgencurs fork so that buildah uses the updated Dockerfile * TMP: Fix running in pre-submit * Revert "TMP: Fix running in pre-submit" This reverts commit 35694f067e20e3be3d6367afb3cb97fed027759f. * Revert "TMP: Use mgencurs fork so that buildah uses the updated Dockerfile" This reverts commit b7ad15e4d8b40e7ffb33c3af95bf631aea761759. * Revert "TMP: Run tekton tests in pre-submit" This reverts commit 36d3a95c1bde517864d620b0eb5b420e04ab8687. --- test/test_images/helloworld/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_images/helloworld/Dockerfile b/test/test_images/helloworld/Dockerfile index 76bbfdb62..a973e4a95 100644 --- a/test/test_images/helloworld/Dockerfile +++ b/test/test_images/helloworld/Dockerfile @@ -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 @@ -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.