general: use stable debian to build docker image
This commit is contained in:
parent
5000ad1bbf
commit
b98d783739
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user