Revert "Dockerfile: Add target architecture to Docker images"

This commit is contained in:
TP Honey
2022-11-16 14:54:56 +00:00
committed by GitHub
parent dc1d8134ef
commit beb82b1bad
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ RUN tar -xf tmate-2.4.0-static-linux-amd64.tar.xz
RUN mv tmate-2.4.0-static-linux-amd64/tmate /bin/
RUN chmod +x /bin/tmate
FROM --platform=linux/amd64 alpine:3
FROM alpine:3
EXPOSE 3000
ENV GODEBUG netdns=go

View File

@@ -6,7 +6,7 @@ RUN tar -xf tmate-2.4.0-static-linux-arm32v7.tar.xz
RUN mv tmate-2.4.0-static-linux-arm32v7/tmate /bin/
RUN chmod +x /bin/tmate
FROM --platform=linux/arm scratch
FROM scratch
EXPOSE 3000
ENV GODEBUG netdns=go

View File

@@ -6,7 +6,7 @@ RUN tar -xf tmate-2.4.0-static-linux-arm64v8.tar.xz
RUN mv tmate-2.4.0-static-linux-arm64v8/tmate /bin/
RUN chmod +x /bin/tmate
FROM --platform=linux/arm64 scratch
FROM scratch
EXPOSE 3000
ENV GODEBUG netdns=go

View File

@@ -6,7 +6,7 @@ RUN tar -xf tmate-2.4.0-static-linux-ppc64le.tar.xz
RUN mv tmate-2.4.0-static-linux-ppc64le/tmate /bin/
RUN chmod +x /bin/tmate
FROM --platform=linux/ppc64le scratch
FROM scratch
EXPOSE 3000
ENV GODEBUG netdns=go