fix: multi platform builds

This commit is contained in:
softwarenoob
2022-05-23 05:17:41 +03:00
parent cc7a9d0da5
commit 5e94fc4239
22 changed files with 25 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
# ----------------------------------
# Environment: debian
# ----------------------------------
FROM node:16-bullseye
FROM --platform=$TARGETOS/$TARGETARCH node:16-bullseye
LABEL author="goover" maintainer="info@goover.de"
@@ -19,7 +19,7 @@ RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-
&& dpkg -i packages-microsoft-prod.deb \
&& apt update -y \
&& apt install -y dotnet-sdk-5.0 dotnet-sdk-6.0 libgdiplus
RUN update-locale lang=en_US.UTF-8 \
&& dpkg-reconfigure --frontend noninteractive locales

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM debian:bullseye-slim
FROM --platform=$TARGETOS/$TARGETARCH debian:bullseye-slim
LABEL author="QuintenQVD" maintainer="josdekurk@gmail.com"

View File

@@ -20,7 +20,7 @@
# SOFTWARE.
#
FROM --platform=$BUILDPLATFORM debian:stable-slim
FROM --platform=$TARGETOS/$TARGETARCH debian:stable-slim
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"