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 @@
FROM node:14-buster FROM --platform=$TARGETOS/$TARGETARCH node:14-buster
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
## install mongo ## install mongo
RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - \ RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - \
&& echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list \ && echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list \
&& apt update \ && apt update \

View File

@@ -1,4 +1,4 @@
FROM alpine:3.9 FROM --platform=$TARGETOS/$TARGETARCH alpine:3.9
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"

View File

@@ -1,4 +1,4 @@
FROM python:3.8-slim FROM --platform=$TARGETOS/$TARGETARCH python:3.8-slim
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"

View File

@@ -1,4 +1,4 @@
FROM ubuntu:18.04 FROM --platform=$TARGETOS/$TARGETARCH ubuntu:18.04
LABEL maintainer="ki2007 <ki2007@damw.eu>" version="1.0" LABEL maintainer="ki2007 <ki2007@damw.eu>" version="1.0"

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk11:alpine-jre FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk11:alpine-jre
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk8:alpine-jre FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk8:alpine-jre
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM ghcr.io/parkervcp/yolks:debian FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM ghcr.io/parkervcp/yolks:debian FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM ghcr.io/parkervcp/yolks:debian FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM ghcr.io/parkervcp/yolks:debian FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM erlang:22-alpine FROM --platform=$TARGETOS/$TARGETARCH erlang:22-alpine
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM erlang:23-alpine FROM --platform=$TARGETOS/$TARGETARCH erlang:23-alpine
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM erlang:24-alpine FROM --platform=$TARGETOS/$TARGETARCH erlang:24-alpine
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -18,9 +18,9 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE. # SOFTWARE.
# #
FROM --platform=$BUILDPLATFORM debian:stable-slim FROM --platform=$TARGETOS/$TARGETARCH debian:stable-slim
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io" LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"

View File

@@ -20,7 +20,7 @@
# SOFTWARE. # SOFTWARE.
# #
FROM --platform=$BUILDPLATFORM debian:stable-slim FROM --platform=$TARGETOS/$TARGETARCH debian:stable-slim
LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL author="Torsten Widmann" maintainer="info@goover.de"