Revert "Dockerfile: Add target architecture to Docker images"
This commit is contained in:
@@ -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 mv tmate-2.4.0-static-linux-amd64/tmate /bin/
|
||||||
RUN chmod +x /bin/tmate
|
RUN chmod +x /bin/tmate
|
||||||
|
|
||||||
FROM --platform=linux/amd64 alpine:3
|
FROM alpine:3
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
ENV GODEBUG netdns=go
|
ENV GODEBUG netdns=go
|
||||||
|
|||||||
@@ -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 mv tmate-2.4.0-static-linux-arm32v7/tmate /bin/
|
||||||
RUN chmod +x /bin/tmate
|
RUN chmod +x /bin/tmate
|
||||||
|
|
||||||
FROM --platform=linux/arm scratch
|
FROM scratch
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
ENV GODEBUG netdns=go
|
ENV GODEBUG netdns=go
|
||||||
|
|||||||
@@ -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 mv tmate-2.4.0-static-linux-arm64v8/tmate /bin/
|
||||||
RUN chmod +x /bin/tmate
|
RUN chmod +x /bin/tmate
|
||||||
|
|
||||||
FROM --platform=linux/arm64 scratch
|
FROM scratch
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
ENV GODEBUG netdns=go
|
ENV GODEBUG netdns=go
|
||||||
|
|||||||
@@ -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 mv tmate-2.4.0-static-linux-ppc64le/tmate /bin/
|
||||||
RUN chmod +x /bin/tmate
|
RUN chmod +x /bin/tmate
|
||||||
|
|
||||||
FROM --platform=linux/ppc64le scratch
|
FROM scratch
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
ENV GODEBUG netdns=go
|
ENV GODEBUG netdns=go
|
||||||
|
|||||||
Reference in New Issue
Block a user