general: use stable debian to build docker image

This commit is contained in:
Lan Tian 2020-11-09 01:23:58 +08:00
parent 5000ad1bbf
commit b98d783739
No known key found for this signature in database
GPG Key ID: 3D2E9DC81E5791C7
6 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ WORKDIR /root
COPY . .
RUN go build -o /proxy
FROM amd64/debian:sid AS step_1
FROM amd64/debian AS step_1
ENV TARGET_ARCH=x86_64
WORKDIR /root
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \

View File

@ -4,7 +4,7 @@ WORKDIR /root
COPY . .
RUN go build -o /proxy
FROM arm32v7/debian:sid AS step_1
FROM arm32v7/debian AS step_1
ENV TARGET_ARCH=arm
WORKDIR /root
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \

View File

@ -4,7 +4,7 @@ WORKDIR /root
COPY . .
RUN go build -o /proxy
FROM arm64v8/debian:sid AS step_1
FROM arm64v8/debian AS step_1
ENV TARGET_ARCH=arm64
WORKDIR /root
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \

View File

@ -4,7 +4,7 @@ WORKDIR /root
COPY . .
RUN go build -o /proxy
FROM i386/debian:sid AS step_1
FROM i386/debian AS step_1
ENV TARGET_ARCH=x86
WORKDIR /root
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \

View File

@ -4,7 +4,7 @@ WORKDIR /root
COPY . .
RUN go build -o /proxy
FROM ppc64le/debian:sid AS step_1
FROM ppc64le/debian AS step_1
ENV TARGET_ARCH=ppc64le
WORKDIR /root
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \

View File

@ -4,7 +4,7 @@ WORKDIR /root
COPY . .
RUN go build -o /proxy
FROM s390x/debian:sid AS step_1
FROM s390x/debian AS step_1
ENV TARGET_ARCH=s390
WORKDIR /root
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \