From b95dde031bb118557d94231d88b95ede17fc3a9e Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Thu, 22 Jun 2023 15:33:54 +0200 Subject: [PATCH] build erlang for arm64 + add iproute2 for the ip command to work --- .github/workflows/erlang.yml | 2 +- erlang/22/Dockerfile | 2 +- erlang/23/Dockerfile | 2 +- erlang/24/Dockerfile | 2 +- erlang/25/Dockerfile | 2 +- erlang/26/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 3a79891..dd3e0e8 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -35,7 +35,7 @@ jobs: with: context: ./erlang file: ./erlang/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: | ghcr.io/parkervcp/yolks:erlang_${{ matrix.tag }} diff --git a/erlang/22/Dockerfile b/erlang/22/Dockerfile index c391152..1575b7d 100644 --- a/erlang/22/Dockerfile +++ b/erlang/22/Dockerfile @@ -5,7 +5,7 @@ LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks" LABEL org.opencontainers.image.licenses=MIT -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata \ +RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ && adduser -D -h /home/container container USER container diff --git a/erlang/23/Dockerfile b/erlang/23/Dockerfile index 10d4cd1..349320f 100644 --- a/erlang/23/Dockerfile +++ b/erlang/23/Dockerfile @@ -5,7 +5,7 @@ LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks" LABEL org.opencontainers.image.licenses=MIT -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata \ +RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2\ && adduser -D -h /home/container container USER container diff --git a/erlang/24/Dockerfile b/erlang/24/Dockerfile index ea47ef4..63ae6d1 100644 --- a/erlang/24/Dockerfile +++ b/erlang/24/Dockerfile @@ -5,7 +5,7 @@ LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks" LABEL org.opencontainers.image.licenses=MIT -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata \ +RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ && adduser -D -h /home/container container USER container diff --git a/erlang/25/Dockerfile b/erlang/25/Dockerfile index caa5fca..8248b86 100644 --- a/erlang/25/Dockerfile +++ b/erlang/25/Dockerfile @@ -5,7 +5,7 @@ LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks" LABEL org.opencontainers.image.licenses=MIT -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata \ +RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ && adduser -D -h /home/container container USER container diff --git a/erlang/26/Dockerfile b/erlang/26/Dockerfile index 121dc05..f806048 100644 --- a/erlang/26/Dockerfile +++ b/erlang/26/Dockerfile @@ -5,7 +5,7 @@ LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de" LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks" LABEL org.opencontainers.image.licenses=MIT -RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata \ +RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ && adduser -D -h /home/container container USER container