Skip to content

Commit

Permalink
Add explicit platform for all dockerfiles from the main repos
Browse files Browse the repository at this point in the history
Following reports at least arm64,ppc64le,s390x have been broken.
  • Loading branch information
uraimo committed Oct 21, 2024
1 parent c076445 commit d20c7e3
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.aarch64.alpine_latest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/alpine:latest
FROM --platform=linux/arm64 arm64v8/alpine:latest

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.aarch64.bookworm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/debian:bookworm
FROM --platform=linux/arm64 arm64v8/debian:bookworm

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.aarch64.bullseye
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/debian:bullseye
FROM --platform=linux/arm64 arm64v8/debian:bullseye

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.aarch64.buster
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/debian:buster
FROM --platform=linux/arm64 arm64v8/debian:buster

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.aarch64.fedora_latest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/fedora:latest
FROM --platform=linux/arm64 arm64v8/fedora:latest

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.aarch64.stretch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/debian:stretch
FROM --platform=linux/arm64 arm64v8/debian:stretch

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.armv7.alpine_latest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm32v7/alpine:latest
FROM --platform=linux/arm/v7 arm32v7/alpine:latest

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.armv7.bookworm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm32v7/debian:bookworm
FROM --platform=linux/arm/v7 arm32v7/debian:bookworm

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.armv7.bullseye
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm32v7/debian:bullseye
FROM --platform=linux/arm/v7 arm32v7/debian:bullseye

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.armv7.buster
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm32v7/debian:buster
FROM --platform=linux/arm/v7 arm32v7/debian:buster

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.armv7.jessie
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm32v7/debian:jessie
FROM --platform=linux/arm/v7 arm32v7/debian:jessie

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.armv7.stretch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm32v7/debian:stretch
FROM --platform=linux/arm/v7 arm32v7/debian:stretch

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.ppc64le.alpine_latest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ppc64le/alpine:latest
FROM --platform=linux/ppc64le ppc64le/alpine:latest

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.ppc64le.bookworm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ppc64le/debian:bookworm
FROM --platform=linux/ppc64le ppc64le/debian:bookworm

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.ppc64le.bullseye
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ppc64le/debian:bullseye
FROM --platform=linux/ppc64le ppc64le/debian:bullseye

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.ppc64le.buster
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ppc64le/debian:buster
FROM --platform=linux/ppc64le ppc64le/debian:buster

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.ppc64le.stretch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ppc64le/debian:stretch
FROM --platform=linux/ppc64le ppc64le/debian:stretch

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.riscv64.alpine_edge
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM riscv64/alpine:edge
FROM --platform=linux/riscv64 riscv64/alpine:edge

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.riscv64.alpine_latest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM riscv64/alpine:latest
FROM --platform=linux/riscv64 riscv64/alpine:latest

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.s390x.alpine_latest
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM s390x/alpine:latest
FROM --platform=linux/s390x s390x/alpine:latest

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.s390x.bookworm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM s390x/debian:bookworm
FROM --platform=linux/s390x s390x/debian:bookworm

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.s390x.bullseye
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM s390x/debian:bullseye
FROM --platform=linux/s390x s390x/debian:bullseye

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.s390x.buster
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM s390x/debian:buster
FROM --platform=linux/s390x s390x/debian:buster

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.s390x.stretch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM s390x/debian:stretch
FROM --platform=linux/s390x s390x/debian:stretch

COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh

0 comments on commit d20c7e3

Please sign in to comment.