use --platform syntax for Dockerfiles

This commit is contained in:
tersec 2024-11-29 16:57:11 +00:00
parent 38de746aa4
commit 348f6659d8
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM arm32v7/debian:bullseye-slim
FROM --platform=arm32v7 debian:bullseye-slim
SHELL ["/bin/bash", "-c"]

View File

@ -1,4 +1,4 @@
FROM arm64v8/debian:bullseye-slim
FROM --platform=arm64v8 debian:bullseye-slim
SHELL ["/bin/bash", "-c"]

View File

@ -1,4 +1,4 @@
FROM arm32v7/debian:bullseye-slim
FROM --platform=arm32v7 debian:bullseye-slim
SHELL ["/bin/bash", "-c"]

View File

@ -1,4 +1,4 @@
FROM arm64v8/debian:bullseye-slim
FROM --platform=arm64v8 debian:bullseye-slim
SHELL ["/bin/bash", "-c"]