general: use stable debian to build docker image
This commit is contained in:
parent
5000ad1bbf
commit
b98d783739
@ -4,7 +4,7 @@ WORKDIR /root
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -o /proxy
|
RUN go build -o /proxy
|
||||||
|
|
||||||
FROM amd64/debian:sid AS step_1
|
FROM amd64/debian AS step_1
|
||||||
ENV TARGET_ARCH=x86_64
|
ENV TARGET_ARCH=x86_64
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
||||||
|
@ -4,7 +4,7 @@ WORKDIR /root
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -o /proxy
|
RUN go build -o /proxy
|
||||||
|
|
||||||
FROM arm32v7/debian:sid AS step_1
|
FROM arm32v7/debian AS step_1
|
||||||
ENV TARGET_ARCH=arm
|
ENV TARGET_ARCH=arm
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
||||||
|
@ -4,7 +4,7 @@ WORKDIR /root
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -o /proxy
|
RUN go build -o /proxy
|
||||||
|
|
||||||
FROM arm64v8/debian:sid AS step_1
|
FROM arm64v8/debian AS step_1
|
||||||
ENV TARGET_ARCH=arm64
|
ENV TARGET_ARCH=arm64
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
||||||
|
@ -4,7 +4,7 @@ WORKDIR /root
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -o /proxy
|
RUN go build -o /proxy
|
||||||
|
|
||||||
FROM i386/debian:sid AS step_1
|
FROM i386/debian AS step_1
|
||||||
ENV TARGET_ARCH=x86
|
ENV TARGET_ARCH=x86
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
||||||
|
@ -4,7 +4,7 @@ WORKDIR /root
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -o /proxy
|
RUN go build -o /proxy
|
||||||
|
|
||||||
FROM ppc64le/debian:sid AS step_1
|
FROM ppc64le/debian AS step_1
|
||||||
ENV TARGET_ARCH=ppc64le
|
ENV TARGET_ARCH=ppc64le
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
||||||
|
@ -4,7 +4,7 @@ WORKDIR /root
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -o /proxy
|
RUN go build -o /proxy
|
||||||
|
|
||||||
FROM s390x/debian:sid AS step_1
|
FROM s390x/debian AS step_1
|
||||||
ENV TARGET_ARCH=s390
|
ENV TARGET_ARCH=s390
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user