diff --git a/Dockerfile b/Dockerfile index f0067793e7..824d0b9e07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ ARG CROSS="false" ARG GO_VERSION=1.12.7 -FROM golang:${GO_VERSION} AS base +FROM golang:${GO_VERSION}-stretch AS base ARG APT_MIRROR RUN sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list \ && sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list diff --git a/Dockerfile.simple b/Dockerfile.simple index d7b63ce9cc..ff64fa4f54 100644 --- a/Dockerfile.simple +++ b/Dockerfile.simple @@ -7,7 +7,7 @@ ARG GO_VERSION=1.12.7 -FROM golang:${GO_VERSION} +FROM golang:${GO_VERSION}-stretch # allow replacing httpredir or deb mirror ARG APT_MIRROR=deb.debian.org