From 7cb08042999f3b62c8e987ca186f0edccab85825 Mon Sep 17 00:00:00 2001 From: Patrick Robinson Date: Thu, 9 Nov 2023 09:21:33 +0100 Subject: [PATCH] Fedora 39 Signed-off-by: Patrick Robinson --- .github/workflows/nodejs20.yaml | 44 +++++++++++++++++++++++++++++++++ Dockerfile.java11 | 2 +- Dockerfile.nodejs20 | 9 +++++++ Dockerfile.python3 | 2 +- 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/nodejs20.yaml create mode 100644 Dockerfile.nodejs20 diff --git a/.github/workflows/nodejs20.yaml b/.github/workflows/nodejs20.yaml new file mode 100644 index 0000000..f72ce5b --- /dev/null +++ b/.github/workflows/nodejs20.yaml @@ -0,0 +1,44 @@ +name: nodejs20 + +on: + push: + branches: + - main + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3.3.0 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v2.0.0 + with: + platforms: all + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v2.4.1 + with: + install: true + version: latest + driver-opts: image=moby/buildkit:master + + - name: Login to GitHub Packages Docker Registry + uses: docker/login-action@v2.0.0 + with: + registry: ghcr.io + username: jenkins-arvato + password: ${{ secrets.CR_PAT }} + - name: Build and Push + uses: docker/build-push-action@v4.0.0 + with: + platforms: linux/amd64,linux/arm64 + push: true + pull: true + file: ./Dockerfile.nodejs20 + tags: ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs20:latest + cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs20:latest + cache-to: type=inline \ No newline at end of file diff --git a/Dockerfile.java11 b/Dockerfile.java11 index b69f396..e17b9c3 100644 --- a/Dockerfile.java11 +++ b/Dockerfile.java11 @@ -1,6 +1,6 @@ FROM ghcr.io/arvatoaws-labs/helm-pipeline/release:latest as helm -FROM ghcr.io/arvatoaws-labs/fedora:38 +FROM ghcr.io/arvatoaws-labs/fedora:39 VOLUME /var/lib/docker diff --git a/Dockerfile.nodejs20 b/Dockerfile.nodejs20 new file mode 100644 index 0000000..5f82153 --- /dev/null +++ b/Dockerfile.nodejs20 @@ -0,0 +1,9 @@ +FROM ghcr.io/arvatoaws-labs/helm-pipeline/release:latest as helm + +FROM ghcr.io/arvatoaws-labs/fedora:39 + +VOLUME /var/lib/docker + +COPY --from=helm /usr/bin/helm3 /usr/bin/helm + +RUN dnf upgrade -y && dnf install -y nodejs npm findutils parallel awscli jq make gcc gcc-c++ automake file && dnf clean all \ No newline at end of file diff --git a/Dockerfile.python3 b/Dockerfile.python3 index 4f128c8..a718c0b 100644 --- a/Dockerfile.python3 +++ b/Dockerfile.python3 @@ -1,6 +1,6 @@ FROM ghcr.io/arvatoaws-labs/helm-pipeline/release:latest as helm -FROM ghcr.io/arvatoaws-labs/fedora:38 +FROM ghcr.io/arvatoaws-labs/fedora:39 VOLUME /var/lib/docker