diff --git a/games/fivem/Dockerfile b/games/fivem/Dockerfile index ece45de..acc46fa 100644 --- a/games/fivem/Dockerfile +++ b/games/fivem/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM alpine:latest +FROM --platform=$TARGETOS/$TARGETARCH alpine:latest LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/games/source/Dockerfile b/games/source/Dockerfile index 8ce953a..c07d027 100644 --- a/games/source/Dockerfile +++ b/games/source/Dockerfile @@ -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" diff --git a/go/1.14/Dockerfile b/go/1.14/Dockerfile index 105e773..285e36b 100644 --- a/go/1.14/Dockerfile +++ b/go/1.14/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM golang:1.14-alpine +FROM --platform=$TARGETOS/$TARGETARCH golang:1.14-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/go/1.15/Dockerfile b/go/1.15/Dockerfile index 50a8531..0279ead 100644 --- a/go/1.15/Dockerfile +++ b/go/1.15/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM golang:1.15-alpine +FROM --platform=$TARGETOS/$TARGETARCH golang:1.15-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/go/1.16/Dockerfile b/go/1.16/Dockerfile index 9855e47..1ab08f3 100644 --- a/go/1.16/Dockerfile +++ b/go/1.16/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM golang:1.16-alpine +FROM --platform=$TARGETOS/$TARGETARCH golang:1.16-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/installers/alpine/Dockerfile b/installers/alpine/Dockerfile index 0f6b97f..a5b6b81 100644 --- a/installers/alpine/Dockerfile +++ b/installers/alpine/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM alpine:latest +FROM --platform=$TARGETOS/$TARGETARCH alpine:latest LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/installers/debian/Dockerfile b/installers/debian/Dockerfile index 4226e60..0593523 100644 --- a/installers/debian/Dockerfile +++ b/installers/debian/Dockerfile @@ -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" diff --git a/java/11/Dockerfile b/java/11/Dockerfile index d506437..82857f2 100644 --- a/java/11/Dockerfile +++ b/java/11/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM openjdk:11-slim +FROM --platform=$TARGETOS/$TARGETARCH openjdk:11-slim LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/java/11j9/Dockerfile b/java/11j9/Dockerfile index fd4a93a..aaec3bb 100644 --- a/java/11j9/Dockerfile +++ b/java/11j9/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk11-openj9:debianslim +FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk11-openj9:debianslim LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/java/16/Dockerfile b/java/16/Dockerfile index 34f44a2..62d86a7 100644 --- a/java/16/Dockerfile +++ b/java/16/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM openjdk:16-slim +FROM --platform=$TARGETOS/$TARGETARCH openjdk:16-slim LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/java/16j9/Dockerfile b/java/16j9/Dockerfile index 19a50cf..f7f3b5c 100644 --- a/java/16j9/Dockerfile +++ b/java/16j9/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk16-openj9:debianslim +FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk16-openj9:debianslim LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/java/8/Dockerfile b/java/8/Dockerfile index d361ece..12999f3 100644 --- a/java/8/Dockerfile +++ b/java/8/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM openjdk:8-slim +FROM --platform=$TARGETOS/$TARGETARCH openjdk:8-slim LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/java/8j9/Dockerfile b/java/8j9/Dockerfile index 38c1015..1c20317 100644 --- a/java/8j9/Dockerfile +++ b/java/8j9/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk8-openj9:debianslim +FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk8-openj9:debianslim LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/nodejs/12/Dockerfile b/nodejs/12/Dockerfile index 3a568f9..aaf5687 100644 --- a/nodejs/12/Dockerfile +++ b/nodejs/12/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM node:12-alpine +FROM --platform=$TARGETOS/$TARGETARCH node:12-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/nodejs/14/Dockerfile b/nodejs/14/Dockerfile index 2528511..a696cf3 100644 --- a/nodejs/14/Dockerfile +++ b/nodejs/14/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM node:14-alpine +FROM --platform=$TARGETOS/$TARGETARCH node:14-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/nodejs/15/Dockerfile b/nodejs/15/Dockerfile index d572184..c243712 100644 --- a/nodejs/15/Dockerfile +++ b/nodejs/15/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM node:15-alpine +FROM --platform=$TARGETOS/$TARGETARCH node:15-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/nodejs/16/Dockerfile b/nodejs/16/Dockerfile index f725c40..3dc471e 100644 --- a/nodejs/16/Dockerfile +++ b/nodejs/16/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM node:16-alpine +FROM --platform=$TARGETOS/$TARGETARCH node:16-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/oses/alpine/Dockerfile b/oses/alpine/Dockerfile index 9625a87..b7badc9 100644 --- a/oses/alpine/Dockerfile +++ b/oses/alpine/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM alpine:latest +FROM --platform=$TARGETOS/$TARGETARCH alpine:latest LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/oses/debian/Dockerfile b/oses/debian/Dockerfile index f16188f..fcb6069 100644 --- a/oses/debian/Dockerfile +++ b/oses/debian/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM debian:buster-slim +FROM --platform=$TARGETOS/$TARGETARCH debian:buster-slim LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" diff --git a/python/3.7/Dockerfile b/python/3.7/Dockerfile index 2ecb0fb..e03933d 100644 --- a/python/3.7/Dockerfile +++ b/python/3.7/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM python:3.7-alpine +FROM --platform=$TARGETOS/$TARGETARCH python:3.7-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/python/3.8/Dockerfile b/python/3.8/Dockerfile index 8a5696b..cae484e 100644 --- a/python/3.8/Dockerfile +++ b/python/3.8/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM python:3.8-alpine +FROM --platform=$TARGETOS/$TARGETARCH python:3.8-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" diff --git a/python/3.9/Dockerfile b/python/3.9/Dockerfile index 4c79bf4..7c96005 100644 --- a/python/3.9/Dockerfile +++ b/python/3.9/Dockerfile @@ -20,7 +20,7 @@ # SOFTWARE. # -FROM --platform=$BUILDPLATFORM python:3.9-alpine +FROM --platform=$TARGETOS/$TARGETARCH python:3.9-alpine LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"