Docker: explicitly declare base image source (#2322)

Some container engines such as podman have started to prompt the user to explicitly state (thus sometimes causing service scripts on systemd) to fail for lack of mentioning what container image hub is used. This change declares the hub to be docker.io, thus removing the prompt on systems that use podman.
This commit is contained in:
Juuso Haavisto 2021-07-09 12:45:18 +03:00 committed by GitHub
parent 3fcb6187f2
commit e81b3f7638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
FROM golang:1.16-alpine3.13 as builder
FROM docker.io/library/golang:1.16-alpine3.13 as builder
RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgcc libstdc++
@ -7,7 +7,7 @@ ADD . .
RUN make all
FROM alpine:3.13
FROM docker.io/library/alpine:3.13
RUN mkdir -p /var/lib/erigon
VOLUME /var/lib/erigon