From 302f1d8ae766cc38818f5d1f59e9248f5979a44d Mon Sep 17 00:00:00 2001 From: Josep Andreu Date: Thu, 30 Nov 2023 23:09:19 +0000 Subject: [PATCH 01/24] modified --- k8s-specifications/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 k8s-specifications/README.md diff --git a/k8s-specifications/README.md b/k8s-specifications/README.md new file mode 100644 index 0000000000..0527e6bd2d --- /dev/null +++ b/k8s-specifications/README.md @@ -0,0 +1 @@ +This is a test From a968fef04745614aa4de838cd314f53c43f7cd12 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 09:46:20 +0100 Subject: [PATCH 02/24] Create build-scan-and-push.yaml --- .github/workflows/build-scan-and-push.yaml | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build-scan-and-push.yaml diff --git a/.github/workflows/build-scan-and-push.yaml b/.github/workflows/build-scan-and-push.yaml new file mode 100644 index 0000000000..f761a1d7ee --- /dev/null +++ b/.github/workflows/build-scan-and-push.yaml @@ -0,0 +1,25 @@ +env: + SYSDIG_SECURE_ENDPOINT: "https://eu1.app.sysdig.com" + REGISTRY_HOST: "quay.io" + IMAGE_NAME: "mytestimage" + IMAGE_TAG: "my-tag" + DOCKERFILE_CONTEXT: "github/" +name: Container build, scan and push +on: [push, pull_request] + +jobs: + build-scan-and-push: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Build and save + uses: docker/build-push-action@v3 + with: + context: ${{ env.DOCKERFILE_CONTEXT }} + tags: ${{ env.REGISTRY_HOST }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} + load: true From 6b4b04196f42bc8716bb7e8dd21aa6f09633ec10 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:05:42 +0100 Subject: [PATCH 03/24] Update build-scan-and-push.yaml --- .github/workflows/build-scan-and-push.yaml | 52 ++++++++++++++++++++-- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-scan-and-push.yaml b/.github/workflows/build-scan-and-push.yaml index f761a1d7ee..25dd1ffffe 100644 --- a/.github/workflows/build-scan-and-push.yaml +++ b/.github/workflows/build-scan-and-push.yaml @@ -3,8 +3,10 @@ env: REGISTRY_HOST: "quay.io" IMAGE_NAME: "mytestimage" IMAGE_TAG: "my-tag" - DOCKERFILE_CONTEXT: "github/" + DOCKERFILE_CONTEXT: "github/new-scan-engine" + name: Container build, scan and push + on: [push, pull_request] jobs: @@ -13,13 +15,57 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - + - name: Build and save uses: docker/build-push-action@v3 with: context: ${{ env.DOCKERFILE_CONTEXT }} tags: ${{ env.REGISTRY_HOST }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} load: true + + - name: Setup cache + uses: actions/cache@v3 + with: + path: cache + key: ${{ runner.os }}-cache-${{ hashFiles('**/sysdig-cli-scanner', '**/latest_version.txt', '**/db/main.db.meta.json', '**/scanner-cache/inlineScannerCache.db') }} + restore-keys: ${{ runner.os }}-cache- + + - name: Download sysdig-cli-scanner if needed + run: | + curl -sLO https://download.sysdig.com/scanning/sysdig-cli-scanner/latest_version.txt + mkdir -p ${GITHUB_WORKSPACE}/cache/db/ + if [ ! -f ${GITHUB_WORKSPACE}/cache/latest_version.txt ] || [ $(cat ./latest_version.txt) != $(cat ${GITHUB_WORKSPACE}/cache/latest_version.txt) ]; then + cp ./latest_version.txt ${GITHUB_WORKSPACE}/cache/latest_version.txt + curl -sL -o ${GITHUB_WORKSPACE}/cache/sysdig-cli-scanner "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner/$(cat ${GITHUB_WORKSPACE}/cache/latest_version.txt)/linux/amd64/sysdig-cli-scanner" + chmod +x ${GITHUB_WORKSPACE}/cache/sysdig-cli-scanner + else + echo "sysdig-cli-scanner latest version already downloaded" + fi + + - name: Scan the image using sysdig-cli-scanner + env: + SECURE_API_TOKEN: ${{ secrets.SECURE_API_TOKEN }} + run: | + ${GITHUB_WORKSPACE}/cache/sysdig-cli-scanner \ + --apiurl ${SYSDIG_SECURE_ENDPOINT} \ + docker://${REGISTRY_HOST}/${{ secrets.REGISTRY_USER }}/${IMAGE_NAME}:${IMAGE_TAG} \ + --console-log \ + --dbpath=${GITHUB_WORKSPACE}/cache/db/ \ + --cachepath=${GITHUB_WORKSPACE}/cache/scanner-cache/ + + - name: Login to the registry + uses: docker/login-action@v2 + with: + registry: ${{ env.REGISTRY_HOST }} + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASSWORD }} + + - name: Push + uses: docker/build-push-action@v3 + with: + context: ${{ env.DOCKERFILE_CONTEXT }} + push: true + tags: ${{ env.REGISTRY_HOST }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} From a361473cfddaa49b06d7b2873fb5f2a6f4667c00 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:18:04 +0100 Subject: [PATCH 04/24] Update build-scan-and-push.yaml --- .github/workflows/build-scan-and-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-scan-and-push.yaml b/.github/workflows/build-scan-and-push.yaml index 25dd1ffffe..b204ad8260 100644 --- a/.github/workflows/build-scan-and-push.yaml +++ b/.github/workflows/build-scan-and-push.yaml @@ -3,7 +3,7 @@ env: REGISTRY_HOST: "quay.io" IMAGE_NAME: "mytestimage" IMAGE_TAG: "my-tag" - DOCKERFILE_CONTEXT: "github/new-scan-engine" + DOCKERFILE_CONTEXT: "github/" name: Container build, scan and push From faa9ed26f0abc2a3754a365da26472fbe5ba1100 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:20:05 +0100 Subject: [PATCH 05/24] Update build-scan-and-push.yaml --- .github/workflows/build-scan-and-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-scan-and-push.yaml b/.github/workflows/build-scan-and-push.yaml index b204ad8260..c663c45750 100644 --- a/.github/workflows/build-scan-and-push.yaml +++ b/.github/workflows/build-scan-and-push.yaml @@ -3,7 +3,7 @@ env: REGISTRY_HOST: "quay.io" IMAGE_NAME: "mytestimage" IMAGE_TAG: "my-tag" - DOCKERFILE_CONTEXT: "github/" + DOCKERFILE_CONTEXT: ".github/workflows" name: Container build, scan and push From 5a4cc495b99deb34b78e255328e0e0277efee154 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:23:01 +0100 Subject: [PATCH 06/24] Create Dockerfile --- k8s-specifications/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 k8s-specifications/Dockerfile diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile new file mode 100644 index 0000000000..de21f64f48 --- /dev/null +++ b/k8s-specifications/Dockerfile @@ -0,0 +1,3 @@ +FROM node:7 +ADD app.js /app.js +ENTRYPOINT ["node", "app.js"] From cdab62ba4e8e4acc979c7e6f454cdbb2134b8462 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:24:30 +0100 Subject: [PATCH 07/24] Create Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..de21f64f48 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM node:7 +ADD app.js /app.js +ENTRYPOINT ["node", "app.js"] From dd8367c974a21ca52951e1e71459389f9f9c427b Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:28:50 +0100 Subject: [PATCH 08/24] Create Dockerfile --- .github/workflows/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/workflows/Dockerfile diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile new file mode 100644 index 0000000000..de21f64f48 --- /dev/null +++ b/.github/workflows/Dockerfile @@ -0,0 +1,3 @@ +FROM node:7 +ADD app.js /app.js +ENTRYPOINT ["node", "app.js"] From aebedf6e7dc025516af7bab604191836a6169de8 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:30:42 +0100 Subject: [PATCH 09/24] Update Dockerfile --- .github/workflows/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile index de21f64f48..67fd379018 100644 --- a/.github/workflows/Dockerfile +++ b/.github/workflows/Dockerfile @@ -1,3 +1 @@ -FROM node:7 -ADD app.js /app.js -ENTRYPOINT ["node", "app.js"] +FROM alpine From 94eeab2578fe1d223c6060eb9595ccfcbbf2a828 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:34:51 +0100 Subject: [PATCH 10/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index de21f64f48..67fd379018 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,3 +1 @@ -FROM node:7 -ADD app.js /app.js -ENTRYPOINT ["node", "app.js"] +FROM alpine From 9c507674eb7de3dce0c2f2e02081d88965099dd9 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:36:02 +0100 Subject: [PATCH 11/24] Update build-scan-and-push.yaml --- .github/workflows/build-scan-and-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-scan-and-push.yaml b/.github/workflows/build-scan-and-push.yaml index c663c45750..c42fe8f74e 100644 --- a/.github/workflows/build-scan-and-push.yaml +++ b/.github/workflows/build-scan-and-push.yaml @@ -3,7 +3,7 @@ env: REGISTRY_HOST: "quay.io" IMAGE_NAME: "mytestimage" IMAGE_TAG: "my-tag" - DOCKERFILE_CONTEXT: ".github/workflows" + DOCKERFILE_CONTEXT: "k8s-specifications" name: Container build, scan and push From 0625f6799b1a480af809c044548b6db4f40c3c6d Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:37:19 +0100 Subject: [PATCH 12/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index 67fd379018..0c833bf8db 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1 +1,3 @@ -FROM alpine +FROM alpine:latest +ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz From 6e2a4354616c867118beec72349d15a9df28e06a Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:39:01 +0100 Subject: [PATCH 13/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index 0c833bf8db..d7c693128c 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,3 +1,3 @@ FROM alpine:latest -ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root -RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +#ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +#RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz From dbb0f44086be34cf42b36e02a02864ee0910cb30 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:42:49 +0100 Subject: [PATCH 14/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index d7c693128c..0c833bf8db 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,3 +1,3 @@ FROM alpine:latest -#ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root -#RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz From 5f79e6732939071f6a6f5e98964fe143eaa5d075 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:28:29 +0100 Subject: [PATCH 15/24] Update Dockerfile --- result/tests/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/result/tests/Dockerfile b/result/tests/Dockerfile index b8b6e90520..6c3e78257c 100644 --- a/result/tests/Dockerfile +++ b/result/tests/Dockerfile @@ -1,5 +1,5 @@ FROM node:8.9-slim - +MAINTAINER josep RUN apt-get update -qq && apt-get install -qy \ ca-certificates \ bzip2 \ From 86315baa35e10bffd418ebac619448a1d009e5ff Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:31:40 +0100 Subject: [PATCH 16/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index 0c833bf8db..d7c693128c 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,3 +1,3 @@ FROM alpine:latest -ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root -RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +#ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +#RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz From d52d1b24d65a33a7b5f6404fb29a8927287387ca Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:32:44 +0100 Subject: [PATCH 17/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index d7c693128c..0c833bf8db 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,3 +1,3 @@ FROM alpine:latest -#ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root -#RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz From 4bca4f04fe30297c861fdd94516875f9cd7c2483 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Sun, 3 Dec 2023 23:34:18 +0100 Subject: [PATCH 18/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index 0c833bf8db..d7c693128c 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,3 +1,3 @@ FROM alpine:latest -ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root -RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +#ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +#RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz From ebf98e192a7f4c650b9808f73ce928a6d56d6822 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Sun, 3 Dec 2023 23:36:03 +0100 Subject: [PATCH 19/24] Update Dockerfile --- k8s-specifications/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index d7c693128c..3cc2afdc72 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,3 +1,4 @@ FROM alpine:latest #ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root #RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +# From 5ea63216b3fb6879f12a7bc9358587293a8ed3ae Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Sun, 3 Dec 2023 23:37:02 +0100 Subject: [PATCH 20/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index 3cc2afdc72..742326f7cc 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,4 +1,4 @@ FROM alpine:latest -#ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root -#RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz # From 7d3cedaf9e6ead53d866a123fdeca83ea5aab613 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Sun, 3 Dec 2023 23:39:29 +0100 Subject: [PATCH 21/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index 742326f7cc..3cc2afdc72 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,4 +1,4 @@ FROM alpine:latest -ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root -RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +#ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +#RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz # From cba9120a296766b2adf239ff0a49ba68db699e99 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Sun, 3 Dec 2023 23:41:10 +0100 Subject: [PATCH 22/24] Update Dockerfile --- k8s-specifications/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index 3cc2afdc72..0c833bf8db 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,4 +1,3 @@ FROM alpine:latest -#ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root -#RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz -# +ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz From d0cc33d879822151dbea8723dec88b7100ac97cd Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Mon, 4 Dec 2023 15:06:56 +0100 Subject: [PATCH 23/24] Update Dockerfile --- k8s-specifications/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index 0c833bf8db..742326f7cc 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,3 +1,4 @@ FROM alpine:latest ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +# From a8a296c3145efd15891fae60bfebf8834a7e7dc7 Mon Sep 17 00:00:00 2001 From: Josep-Andreu <48418442+Josep-Andreu@users.noreply.github.com> Date: Mon, 4 Dec 2023 15:10:31 +0100 Subject: [PATCH 24/24] Update Dockerfile --- k8s-specifications/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s-specifications/Dockerfile b/k8s-specifications/Dockerfile index 742326f7cc..3cc2afdc72 100644 --- a/k8s-specifications/Dockerfile +++ b/k8s-specifications/Dockerfile @@ -1,4 +1,4 @@ FROM alpine:latest -ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root -RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz +#ADD https://archive.apache.org/dist/logging/log4j/2.14.1/apache-log4j-2.14.1-bin.tar.gz /root +#RUN tar xzvf /root/apache-log4j-2.14.1-bin.tar.gz #