From a1521884efe8bb5062b5849651e3caa908d5c31e Mon Sep 17 00:00:00 2001 From: Timur Demin Date: Sat, 19 Mar 2022 14:38:04 +0500 Subject: [PATCH] Use fully-qualified base image names This makes the Dockerfile use FQDNs for registry names as recommended by Podman and other OCI-compatible container solutions. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8221e18..9c29895 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18-alpine AS builder +FROM docker.io/library/golang:1.18-alpine AS builder WORKDIR /src @@ -14,7 +14,7 @@ RUN \ go build -v -o /tmp/gmnhg ./cmd/gmnhg && \ go build -v -o /tmp/md2gmn ./cmd/md2gmn -FROM alpine:3.15 AS runner +FROM docker.io/library/alpine:3.15 AS runner LABEL maintainer "Timur Demin "