From df97adb9739f675da3d9b1891141b9ca5da168b0 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 12:19:09 -0800 Subject: [PATCH 01/31] Removed scheduler on CircleCI Docker jobs for testing --- .circleci/config.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index da8e1074..b973680e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -695,10 +695,10 @@ workflows: master-twelve-hour-jdk8: - triggers: - - schedule: - cron: "10 7,19 * * *" - <<: *filter_only_master + # triggers: + # - schedule: + # cron: "10 7,19 * * *" + # <<: *filter_only_master jobs: - gradle_7_2_0_jdk8: <<: *context_sonatype @@ -709,10 +709,10 @@ workflows: master-twelve-hour-jdk11: - triggers: - - schedule: - cron: "15 7,19 * * *" - <<: *filter_only_master + # triggers: + # - schedule: + # cron: "15 7,19 * * *" + # <<: *filter_only_master jobs: - gradle_7_2_0_jdk11: <<: *context_sonatype @@ -723,10 +723,10 @@ workflows: master-twelve-hour-jdk16: - triggers: - - schedule: - cron: "20 7,19 * * *" - <<: *filter_only_master + # triggers: + # - schedule: + # cron: "20 7,19 * * *" + # <<: *filter_only_master jobs: - gradle_7_2_0_jdk16: <<: *context_sonatype From cdce98fed883d68ba9fa92facb3c1be8d3f4f144 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 12:22:55 -0800 Subject: [PATCH 02/31] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b973680e..cb88dcf0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -269,11 +269,11 @@ build_push_image_steps: &build_push_image_steps # https://support.circleci.com/hc/en-us/articles/360058095471-How-To-Use-Docker-Buildx-in-Remote-Docker- # https://microservices.io/post/microservices/2022/01/18/build-multi-arch-docker-images-circleci.html command: | - echo "Creating a Docker context" - docker context create tls-environment + # echo "Creating a Docker context" + # docker context create tls-environment echo "BuildX creates and uses the Docker context" - docker buildx create tls-environment --use + docker buildx create tls-environment echo "Starting Docker BuildX process .." docker buildx build --platform linux/amd64,linux/arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> . From 2cf60b659323d6ce5c4c002c62631632fec0e776 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 12:25:26 -0800 Subject: [PATCH 03/31] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index cb88dcf0..35cd1bfe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -271,6 +271,7 @@ build_push_image_steps: &build_push_image_steps command: | # echo "Creating a Docker context" # docker context create tls-environment + docker version echo "BuildX creates and uses the Docker context" docker buildx create tls-environment From 2e3b6b17c9c6f49f9d4166c0ae68a3e3f99d912a Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 12:27:14 -0800 Subject: [PATCH 04/31] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 35cd1bfe..92feeff2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -269,6 +269,7 @@ build_push_image_steps: &build_push_image_steps # https://support.circleci.com/hc/en-us/articles/360058095471-How-To-Use-Docker-Buildx-in-Remote-Docker- # https://microservices.io/post/microservices/2022/01/18/build-multi-arch-docker-images-circleci.html command: | + export DOCKER_CLI_EXPERIMENTAL=enabled # echo "Creating a Docker context" # docker context create tls-environment docker version From 48ff29f67a043f1f7932848413adceae4e162923 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 13:17:20 -0800 Subject: [PATCH 05/31] Update config.yml --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 92feeff2..d3c46ad2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -269,11 +269,13 @@ build_push_image_steps: &build_push_image_steps # https://support.circleci.com/hc/en-us/articles/360058095471-How-To-Use-Docker-Buildx-in-Remote-Docker- # https://microservices.io/post/microservices/2022/01/18/build-multi-arch-docker-images-circleci.html command: | - export DOCKER_CLI_EXPERIMENTAL=enabled # echo "Creating a Docker context" # docker context create tls-environment docker version + echo "Sanity checking the presence of BuildX" + DOCKER_BUILD_KIT=1 DOCKER_CLI_EXPERIMENTAL=enabled docker buildx --help + echo "BuildX creates and uses the Docker context" docker buildx create tls-environment From acbeca1eda5c07e262ea9cd059622b325d7e3113 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 13:20:54 -0800 Subject: [PATCH 06/31] Update config.yml --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d3c46ad2..4a208470 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -271,16 +271,16 @@ build_push_image_steps: &build_push_image_steps command: | # echo "Creating a Docker context" # docker context create tls-environment - docker version + # docker version - echo "Sanity checking the presence of BuildX" + echo "\nSanity checking the presence of BuildX\n" DOCKER_BUILD_KIT=1 DOCKER_CLI_EXPERIMENTAL=enabled docker buildx --help - echo "BuildX creates and uses the Docker context" - docker buildx create tls-environment + echo "\nBuildX creates and uses the Docker context\n" + DOCKER_BUILD_KIT=1 DOCKER_CLI_EXPERIMENTAL=enabled docker buildx create tls-environment - echo "Starting Docker BuildX process .." - docker buildx build --platform linux/amd64,linux/arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> . + echo "\nStarting Docker BuildX process ..\n" + DOCKER_BUILD_KIT=1 DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --platform linux/amd64,linux/arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> . - run: name: Authenticating to Docker Hub From d6760bc1e62ad8242105a2766c5b83437a5e721e Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 15:22:30 -0800 Subject: [PATCH 07/31] Update config.yml --- .circleci/config.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4a208470..f862188a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -264,23 +264,30 @@ build_push_image_steps: &build_push_image_steps # build the application image - run: + name: Install Docker Buildx + command: | + curl -V + mkdir -vp ~/.docker/cli-plugins/ + curl --silent -L "https://github.com/docker/buildx/releases/download/v0.12.0/buildx-v0.12.0.linux-amd64" > ~/.docker/cli-plugins/docker-buildx + chmod a+x ~/.docker/cli-plugins/docker-buildx + docker buildx version + name: Building Docker image working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> # https://support.circleci.com/hc/en-us/articles/360058095471-How-To-Use-Docker-Buildx-in-Remote-Docker- # https://microservices.io/post/microservices/2022/01/18/build-multi-arch-docker-images-circleci.html command: | - # echo "Creating a Docker context" - # docker context create tls-environment - # docker version + echo "\nChecking a BuildX version\n" + docker buildx version echo "\nSanity checking the presence of BuildX\n" - DOCKER_BUILD_KIT=1 DOCKER_CLI_EXPERIMENTAL=enabled docker buildx --help + docker buildx --help echo "\nBuildX creates and uses the Docker context\n" - DOCKER_BUILD_KIT=1 DOCKER_CLI_EXPERIMENTAL=enabled docker buildx create tls-environment + docker buildx create tls-environment echo "\nStarting Docker BuildX process ..\n" - DOCKER_BUILD_KIT=1 DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --platform linux/amd64,linux/arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> . + docker buildx build --platform linux/amd64,linux/arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> . - run: name: Authenticating to Docker Hub From c67419b17e587788c13a47043ae23b51e1f03b21 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 15:23:34 -0800 Subject: [PATCH 08/31] Update config.yml --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f862188a..8e6bfc64 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -265,12 +265,12 @@ build_push_image_steps: &build_push_image_steps # build the application image - run: name: Install Docker Buildx - command: | - curl -V - mkdir -vp ~/.docker/cli-plugins/ - curl --silent -L "https://github.com/docker/buildx/releases/download/v0.12.0/buildx-v0.12.0.linux-amd64" > ~/.docker/cli-plugins/docker-buildx - chmod a+x ~/.docker/cli-plugins/docker-buildx - docker buildx version + command: | + curl -V + mkdir -vp ~/.docker/cli-plugins/ + curl --silent -L "https://github.com/docker/buildx/releases/download/v0.12.0/buildx-v0.12.0.linux-amd64" > ~/.docker/cli-plugins/docker-buildx + chmod a+x ~/.docker/cli-plugins/docker-buildx + docker buildx version name: Building Docker image working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> From e4f6c7ccc500bc901fbd12edb5a90cf4c528d553 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 15:25:20 -0800 Subject: [PATCH 09/31] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e6bfc64..33d396ce 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -271,7 +271,8 @@ build_push_image_steps: &build_push_image_steps curl --silent -L "https://github.com/docker/buildx/releases/download/v0.12.0/buildx-v0.12.0.linux-amd64" > ~/.docker/cli-plugins/docker-buildx chmod a+x ~/.docker/cli-plugins/docker-buildx docker buildx version - + + - run: name: Building Docker image working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> # https://support.circleci.com/hc/en-us/articles/360058095471-How-To-Use-Docker-Buildx-in-Remote-Docker- From 608b73d0c995349d95010adeb2ea420297e7ff32 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 15:29:14 -0800 Subject: [PATCH 10/31] Update config.yml --- .circleci/config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 33d396ce..82f2a018 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -262,11 +262,16 @@ build_push_image_steps: &build_push_image_steps - setup_remote_docker: version: 20.10.11 + - run: + name: Install cURL on Alpine Linux + command: | + echo "" + apk --no-cache add curl && curl --version + # build the application image - run: name: Install Docker Buildx command: | - curl -V mkdir -vp ~/.docker/cli-plugins/ curl --silent -L "https://github.com/docker/buildx/releases/download/v0.12.0/buildx-v0.12.0.linux-amd64" > ~/.docker/cli-plugins/docker-buildx chmod a+x ~/.docker/cli-plugins/docker-buildx From 69ac9e0ba19dabbaa864c61ce039e4c663880af0 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 15:35:54 -0800 Subject: [PATCH 11/31] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 82f2a018..edb21c12 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -286,11 +286,11 @@ build_push_image_steps: &build_push_image_steps echo "\nChecking a BuildX version\n" docker buildx version - echo "\nSanity checking the presence of BuildX\n" - docker buildx --help + echo "\nDocker create context\n" + docker context create tls-environment echo "\nBuildX creates and uses the Docker context\n" - docker buildx create tls-environment + docker buildx create tls-environment --use echo "\nStarting Docker BuildX process ..\n" docker buildx build --platform linux/amd64,linux/arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> . From 9b459caeb38a544e5025cf42c1b32cd8c93a7351 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 15:46:11 -0800 Subject: [PATCH 12/31] Update config.yml --- .circleci/config.yml | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index edb21c12..081898db 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -277,36 +277,28 @@ build_push_image_steps: &build_push_image_steps chmod a+x ~/.docker/cli-plugins/docker-buildx docker buildx version + - run: + name: Authenticating to Docker Hub + command: | + echo "$DOCKER_HUB_PASSWORD" | docker login --username "$DOCKER_HUB_USER" --password-stdin + - run: name: Building Docker image working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> # https://support.circleci.com/hc/en-us/articles/360058095471-How-To-Use-Docker-Buildx-in-Remote-Docker- # https://microservices.io/post/microservices/2022/01/18/build-multi-arch-docker-images-circleci.html command: | - echo "\nChecking a BuildX version\n" - docker buildx version - - echo "\nDocker create context\n" docker context create tls-environment - - echo "\nBuildX creates and uses the Docker context\n" docker buildx create tls-environment --use - - echo "\nStarting Docker BuildX process ..\n" - docker buildx build --platform linux/amd64,linux/arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> . - - - run: - name: Authenticating to Docker Hub - command: | - echo "$DOCKER_HUB_PASSWORD" | docker login --username "$DOCKER_HUB_USER" --password-stdin + docker buildx build --platform linux/amd64,linux/arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . + docker buildx rm tls-environment # deploy the image - - run: - name: Pushing Docker image to Docker Hub - working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> - command: | - docker push azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> - docker buildx rm buildx-build + # - run: + # name: Pushing Docker image to Docker Hub + # working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> + # command: | + # docker push azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> smoke_test_steps: &smoke_test_steps steps: From 74ddef1baf6ce012ced4cb8f689b698787fe1a14 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 15:50:51 -0800 Subject: [PATCH 13/31] Update config.yml --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 081898db..cdad4ab0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -285,12 +285,10 @@ build_push_image_steps: &build_push_image_steps - run: name: Building Docker image working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> - # https://support.circleci.com/hc/en-us/articles/360058095471-How-To-Use-Docker-Buildx-in-Remote-Docker- - # https://microservices.io/post/microservices/2022/01/18/build-multi-arch-docker-images-circleci.html command: | docker context create tls-environment docker buildx create tls-environment --use - docker buildx build --platform linux/amd64,linux/arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . + docker buildx build --platform linux/amd64 -f Dockerfile --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . docker buildx rm tls-environment # deploy the image From de0720b3bcd521d4de2b603bb23551fe4e304fa3 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 15:54:21 -0800 Subject: [PATCH 14/31] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cdad4ab0..50324288 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -283,13 +283,13 @@ build_push_image_steps: &build_push_image_steps echo "$DOCKER_HUB_PASSWORD" | docker login --username "$DOCKER_HUB_USER" --password-stdin - run: - name: Building Docker image + name: Building and Pushing Docker image working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> command: | docker context create tls-environment docker buildx create tls-environment --use docker buildx build --platform linux/amd64 -f Dockerfile --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . - docker buildx rm tls-environment + docker context rm tls-environment # deploy the image # - run: From 31e4695f494cfed765faf4d974e4fac05326118e Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 15:59:40 -0800 Subject: [PATCH 15/31] Update config.yml --- .circleci/config.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 50324288..7dde2b5e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -283,20 +283,22 @@ build_push_image_steps: &build_push_image_steps echo "$DOCKER_HUB_PASSWORD" | docker login --username "$DOCKER_HUB_USER" --password-stdin - run: - name: Building and Pushing Docker image + name: Building and Pushing Docker x86_64 images working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> command: | - docker context create tls-environment - docker buildx create tls-environment --use + docker context create tls-environment-amd64 + docker buildx create tls-environment-amd64 --use docker buildx build --platform linux/amd64 -f Dockerfile --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . - docker context rm tls-environment - - # deploy the image - # - run: - # name: Pushing Docker image to Docker Hub - # working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> - # command: | - # docker push azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> + docker context rm tls-environment-amd64 + + - run: + name: Building and Pushing Docker ARM64 images + working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> + command: | + docker context create tls-environment-arm64 + docker buildx create tls-environment-arm64 --use + docker buildx build --platform linux/arm64 -f Dockerfile.arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . + docker context rm tls-environment-arm64 smoke_test_steps: &smoke_test_steps steps: From 0ff556c184e413306b52d4cb41cfddfcd616b692 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 16:10:18 -0800 Subject: [PATCH 16/31] Create Dockerfile.arm64 --- docker/jdk11/Dockerfile.arm64 | 90 +++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docker/jdk11/Dockerfile.arm64 diff --git a/docker/jdk11/Dockerfile.arm64 b/docker/jdk11/Dockerfile.arm64 new file mode 100644 index 00000000..4a5a89f8 --- /dev/null +++ b/docker/jdk11/Dockerfile.arm64 @@ -0,0 +1,90 @@ +# Dockerfile for ARM64 images +# +# A few useful Docker commands to build an image and run the stubby4j container. +# +# Build (run with '--no-cache' to ensure that Git repo new tags will be pulled down, as Docker caches RUNs): +# '$ docker build --build-arg REVISION=v7.2.0 --rm --no-cache -t stubby4j:latest .' or +# '$ docker build --rm --no-cache -t stubby4j:latest .' to build from master +# +# Run: +# https://hub.docker.com/r/azagniotov/stubby4j ("How to use this image") + +######################################################################################## +# Stage 1 : build the app +######################################################################################## +FROM gradle:7.2.0-jdk11-openj9@sha256:68d2abb7a3dafef89b9f387095ebe2f7059dca48c53d83fd9328bf5914ce14a6 AS BUILD_JAR_STAGE + +ARG REVISION=master +ENV GRADLE_USER_HOME=/home/gradle +WORKDIR $GRADLE_USER_HOME + +# Build from the latest tag +RUN git clone https://github.com/azagniotov/stubby4j.git && \ + cd stubby4j && \ + git fetch -f --tags && \ + git checkout $REVISION && \ + gradle -Plog4j -PuseNativeJdkAlpnProcessor clean jar + +######################################################################################## +# Stage 2 : create the Docker final image +######################################################################################## +# https://hub.docker.com/r/azul/zulu-openjdk-alpine +FROM azul/zulu-openjdk-alpine:11.0.21-11.68-jre-headless@sha256:95750d3048415315d22effd433373f1ecd543be17fb658c650207db6c837ec09 + +ARG USER_ID=1001 +ARG GROUP_ID=1001 + +MAINTAINER Alexander Zagniotov + +# Why --location=0.0.0.0 ??? Read: https://stackoverflow.com/a/59182290 +ENV LOCATION=0.0.0.0 \ + STUBS_PORT=8882 \ + STUBS_TLS_PORT=7443 \ + ADMIN_PORT=8889 \ + WITH_ARGS="" \ + YAML_CONFIG="main.yaml" \ + STUBBY4J_USER_HOME=/home/stubby4j + +# Users & permissions, docs: https://wiki.alpinelinux.org/wiki/Setting_up_a_new_user +RUN addgroup --system --gid $GROUP_ID stubby4j && \ + adduser \ + --system \ + --disabled-password \ + --gecos '' \ + --uid $USER_ID stubby4j \ + --shell /bin/bash \ + --home "$STUBBY4J_USER_HOME" && \ + chown --recursive stubby4j:stubby4j "$STUBBY4J_USER_HOME" + +WORKDIR "$STUBBY4J_USER_HOME" + +COPY --from=BUILD_JAR_STAGE /home/gradle/stubby4j/build/libs/stubby4j*SNAPSHOT.jar ./stubby4j.jar +COPY --from=BUILD_JAR_STAGE /home/gradle/stubby4j/docker/log4j2-for-docker.xml ./log4j2.xml +RUN chown $USER_ID:$GROUP_ID stubby4j.jar && \ + chown $USER_ID:$GROUP_ID log4j2.xml && \ + java -version && \ + ls -al + +# Set the UID and GID of 'stubby4j' for the ENTRYPOINT instructions, +# because root inside the container == root outside the container, +# since there’s a single kernel and a single, shared pool of UIDs and GIDs. +USER $USER_ID:$GROUP_ID + +# Mark the 'data' directory as volume +VOLUME "$STUBBY4J_USER_HOME/data" + +# Expose the three stubby4j ports and run the JAR +EXPOSE $ADMIN_PORT $STUBS_PORT $STUBS_TLS_PORT + +# https://www.docker.com/blog/apache-log4j-2-cve-2021-44228/ +ENTRYPOINT java \ + -DoverrideDisabledAlgorithms=true \ + -Dlog4j2.configurationFile=log4j2.xml \ + -jar stubby4j.jar \ + --location ${LOCATION} \ + --admin ${ADMIN_PORT} \ + --stubs ${STUBS_PORT} \ + --tls ${STUBS_TLS_PORT} \ + --data data/${YAML_CONFIG} \ + --mute \ + ${WITH_ARGS} From 9d72cff76fbd381449a9d9dc965c1e1c868d7d5c Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 16:11:28 -0800 Subject: [PATCH 17/31] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7dde2b5e..2297dd4e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -292,12 +292,12 @@ build_push_image_steps: &build_push_image_steps docker context rm tls-environment-amd64 - run: - name: Building and Pushing Docker ARM64 images - working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> + name: Building and Pushing Docker ARM64 JDK 11 image + working_directory: ~/repo/docker/jdk11 command: | docker context create tls-environment-arm64 docker buildx create tls-environment-arm64 --use - docker buildx build --platform linux/arm64 -f Dockerfile.arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . + docker buildx build --platform linux/arm64 -f Dockerfile.arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre11 --push . docker context rm tls-environment-arm64 smoke_test_steps: &smoke_test_steps From c554129f7dc3eaa8e7e68dc8cbc9d9d4f4b4452d Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 16:29:04 -0800 Subject: [PATCH 18/31] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2297dd4e..9683d654 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -297,7 +297,7 @@ build_push_image_steps: &build_push_image_steps command: | docker context create tls-environment-arm64 docker buildx create tls-environment-arm64 --use - docker buildx build --platform linux/arm64 -f Dockerfile.arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre11 --push . + docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile.arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre11 --push . docker context rm tls-environment-arm64 smoke_test_steps: &smoke_test_steps From 9b47ddb94d20b30425996d31c2cb9f3846c8efe7 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 16:46:48 -0800 Subject: [PATCH 19/31] Update config.yml --- .circleci/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9683d654..99c401bf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -262,6 +262,12 @@ build_push_image_steps: &build_push_image_steps - setup_remote_docker: version: 20.10.11 + # - run: + # name: Install QEMU User Static on Alpine Linux + # command: | + # echo "" + # apk --no-cache add qemu-user-static + - run: name: Install cURL on Alpine Linux command: | @@ -295,6 +301,7 @@ build_push_image_steps: &build_push_image_steps name: Building and Pushing Docker ARM64 JDK 11 image working_directory: ~/repo/docker/jdk11 command: | + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes docker context create tls-environment-arm64 docker buildx create tls-environment-arm64 --use docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile.arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre11 --push . From 22605f893e3ee17860420220374d83652c93a8bb Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:31:11 -0800 Subject: [PATCH 20/31] Update config.yml --- .circleci/config.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 99c401bf..01ea0e0e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -274,7 +274,6 @@ build_push_image_steps: &build_push_image_steps echo "" apk --no-cache add curl && curl --version - # build the application image - run: name: Install Docker Buildx command: | @@ -289,23 +288,14 @@ build_push_image_steps: &build_push_image_steps echo "$DOCKER_HUB_PASSWORD" | docker login --username "$DOCKER_HUB_USER" --password-stdin - run: - name: Building and Pushing Docker x86_64 images + name: Building and Pushing Multi Arch Docker images working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> - command: | - docker context create tls-environment-amd64 - docker buildx create tls-environment-amd64 --use - docker buildx build --platform linux/amd64 -f Dockerfile --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . - docker context rm tls-environment-amd64 - - - run: - name: Building and Pushing Docker ARM64 JDK 11 image - working_directory: ~/repo/docker/jdk11 command: | docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - docker context create tls-environment-arm64 - docker buildx create tls-environment-arm64 --use - docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile.arm64 --rm --no-cache -t azagniotov/stubby4j:latest-jre11 --push . - docker context rm tls-environment-arm64 + docker context create tls-environment-multi-arch + docker buildx create tls-environment-multi-arch --use + docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . + docker context rm tls-environment-multi-arch smoke_test_steps: &smoke_test_steps steps: From 2778b475cab0990aff4e8b6b79d994000cf1f684 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:32:06 -0800 Subject: [PATCH 21/31] Update Dockerfile --- docker/jdk11/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/jdk11/Dockerfile b/docker/jdk11/Dockerfile index 2a7f2488..4a5a89f8 100644 --- a/docker/jdk11/Dockerfile +++ b/docker/jdk11/Dockerfile @@ -1,3 +1,5 @@ +# Dockerfile for ARM64 images +# # A few useful Docker commands to build an image and run the stubby4j container. # # Build (run with '--no-cache' to ensure that Git repo new tags will be pulled down, as Docker caches RUNs): @@ -10,7 +12,7 @@ ######################################################################################## # Stage 1 : build the app ######################################################################################## -FROM gradle:7.2.0-jdk11-openj9@sha256:6c628ab1edc7b733b4880804fcd27dc360fc350f333546924e64e3a34a009fa2 AS BUILD_JAR_STAGE +FROM gradle:7.2.0-jdk11-openj9@sha256:68d2abb7a3dafef89b9f387095ebe2f7059dca48c53d83fd9328bf5914ce14a6 AS BUILD_JAR_STAGE ARG REVISION=master ENV GRADLE_USER_HOME=/home/gradle @@ -27,7 +29,7 @@ RUN git clone https://github.com/azagniotov/stubby4j.git && \ # Stage 2 : create the Docker final image ######################################################################################## # https://hub.docker.com/r/azul/zulu-openjdk-alpine -FROM azul/zulu-openjdk-alpine:11.0.10-11.45.27-jre-headless@sha256:6cf54cbe8eef8a65eee89524dc9fcac4069425e87115ba908901f97c933703e8 +FROM azul/zulu-openjdk-alpine:11.0.21-11.68-jre-headless@sha256:95750d3048415315d22effd433373f1ecd543be17fb658c650207db6c837ec09 ARG USER_ID=1001 ARG GROUP_ID=1001 From 63b24b47575d5003079ef4e39063f81958610859 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:39:59 -0800 Subject: [PATCH 22/31] Create jdk17 --- docker/jdk17 | 1 + 1 file changed, 1 insertion(+) create mode 100644 docker/jdk17 diff --git a/docker/jdk17 b/docker/jdk17 new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/docker/jdk17 @@ -0,0 +1 @@ + From bf87b05168db7e48d64daa44b087db138f32cde8 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:42:38 -0800 Subject: [PATCH 23/31] Delete docker/jdk17 --- docker/jdk17 | 1 - 1 file changed, 1 deletion(-) delete mode 100644 docker/jdk17 diff --git a/docker/jdk17 b/docker/jdk17 deleted file mode 100644 index 8b137891..00000000 --- a/docker/jdk17 +++ /dev/null @@ -1 +0,0 @@ - From 425431195aabc718022c53f31468b8e4ce53f03b Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:43:14 -0800 Subject: [PATCH 24/31] Update Dockerfile --- docker/jdk16/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/jdk16/Dockerfile b/docker/jdk16/Dockerfile index 1d17ac12..84488276 100644 --- a/docker/jdk16/Dockerfile +++ b/docker/jdk16/Dockerfile @@ -10,7 +10,7 @@ ######################################################################################## # Stage 1 : build the app ######################################################################################## -FROM gradle:7.2.0-jdk16-openj9@sha256:9620865af4f35026abfc9680603449296f832ea79da9a7f4e79d00989ccddcee AS BUILD_JAR_STAGE +FROM gradle:7.2-jdk17@sha256:67de4380b26d2b5406077cf5439b3488d139f7fedd9bdb8ddfadbe277750ede8 AS BUILD_JAR_STAGE ARG REVISION=master ENV GRADLE_USER_HOME=/home/gradle @@ -27,7 +27,7 @@ RUN git clone https://github.com/azagniotov/stubby4j.git && \ # Stage 2 : create the Docker final image ######################################################################################## # https://hub.docker.com/r/azul/zulu-openjdk-alpine -FROM azul/zulu-openjdk-alpine:16.0.2-16.32.15-jre@sha256:d323c348f27b9458ec88fd69947560314df0fe059ff7acb3055f96b28f466a4d +FROM azul/zulu-openjdk-alpine:17-jre@sha256:1d30a12d48c20c02dbcfe9e01c5a41878066c4ddaf1e5cd768ea87f2ba212973 ARG USER_ID=1001 ARG GROUP_ID=1001 From 62d9770aa1e13a3ba2ddf18f9a98e5df0f6d669a Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:45:36 -0800 Subject: [PATCH 25/31] Update Dockerfile --- docker/jdk8/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/jdk8/Dockerfile b/docker/jdk8/Dockerfile index e465fdd2..f2847e20 100644 --- a/docker/jdk8/Dockerfile +++ b/docker/jdk8/Dockerfile @@ -10,7 +10,7 @@ ######################################################################################## # Stage 1 : build the app ######################################################################################## -FROM gradle:7.2.0-jdk8-openj9@sha256:d4128edf5ac579f93e3149a9f89be3af779de1d3d85a9f25f25cb3d4b432b69a AS BUILD_JAR_STAGE +FROM gradle:7.2.0-jdk8-openj9@sha256:18fdc03987ce333918cf2badfcb677d27ac1ca667b014eef32ba77b48e58ab83 AS BUILD_JAR_STAGE ARG REVISION=master ENV GRADLE_USER_HOME=/home/gradle @@ -27,7 +27,7 @@ RUN git clone https://github.com/azagniotov/stubby4j.git && \ # Stage 2 : create the Docker final image ######################################################################################## # https://hub.docker.com/r/azul/zulu-openjdk-alpine -FROM azul/zulu-openjdk-alpine:8u282-8.52.0.23-jre-headless@sha256:91fe8ae651d5c778312e946e89f934240c2a80f55b7ca894d76daef8f5281375 +FROM azul/zulu-openjdk-alpine:8u362-8.68.0.21-jre-arm64@sha256:460ae0fb1205fdca85d909d58a31c4691c9d52764391031e387854c48ba7c6d8 ARG USER_ID=1001 ARG GROUP_ID=1001 From 87456350a3614e71d12de763aaf62733034760ad Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:46:10 -0800 Subject: [PATCH 26/31] Delete docker/jdk11/Dockerfile.arm64 --- docker/jdk11/Dockerfile.arm64 | 90 ----------------------------------- 1 file changed, 90 deletions(-) delete mode 100644 docker/jdk11/Dockerfile.arm64 diff --git a/docker/jdk11/Dockerfile.arm64 b/docker/jdk11/Dockerfile.arm64 deleted file mode 100644 index 4a5a89f8..00000000 --- a/docker/jdk11/Dockerfile.arm64 +++ /dev/null @@ -1,90 +0,0 @@ -# Dockerfile for ARM64 images -# -# A few useful Docker commands to build an image and run the stubby4j container. -# -# Build (run with '--no-cache' to ensure that Git repo new tags will be pulled down, as Docker caches RUNs): -# '$ docker build --build-arg REVISION=v7.2.0 --rm --no-cache -t stubby4j:latest .' or -# '$ docker build --rm --no-cache -t stubby4j:latest .' to build from master -# -# Run: -# https://hub.docker.com/r/azagniotov/stubby4j ("How to use this image") - -######################################################################################## -# Stage 1 : build the app -######################################################################################## -FROM gradle:7.2.0-jdk11-openj9@sha256:68d2abb7a3dafef89b9f387095ebe2f7059dca48c53d83fd9328bf5914ce14a6 AS BUILD_JAR_STAGE - -ARG REVISION=master -ENV GRADLE_USER_HOME=/home/gradle -WORKDIR $GRADLE_USER_HOME - -# Build from the latest tag -RUN git clone https://github.com/azagniotov/stubby4j.git && \ - cd stubby4j && \ - git fetch -f --tags && \ - git checkout $REVISION && \ - gradle -Plog4j -PuseNativeJdkAlpnProcessor clean jar - -######################################################################################## -# Stage 2 : create the Docker final image -######################################################################################## -# https://hub.docker.com/r/azul/zulu-openjdk-alpine -FROM azul/zulu-openjdk-alpine:11.0.21-11.68-jre-headless@sha256:95750d3048415315d22effd433373f1ecd543be17fb658c650207db6c837ec09 - -ARG USER_ID=1001 -ARG GROUP_ID=1001 - -MAINTAINER Alexander Zagniotov - -# Why --location=0.0.0.0 ??? Read: https://stackoverflow.com/a/59182290 -ENV LOCATION=0.0.0.0 \ - STUBS_PORT=8882 \ - STUBS_TLS_PORT=7443 \ - ADMIN_PORT=8889 \ - WITH_ARGS="" \ - YAML_CONFIG="main.yaml" \ - STUBBY4J_USER_HOME=/home/stubby4j - -# Users & permissions, docs: https://wiki.alpinelinux.org/wiki/Setting_up_a_new_user -RUN addgroup --system --gid $GROUP_ID stubby4j && \ - adduser \ - --system \ - --disabled-password \ - --gecos '' \ - --uid $USER_ID stubby4j \ - --shell /bin/bash \ - --home "$STUBBY4J_USER_HOME" && \ - chown --recursive stubby4j:stubby4j "$STUBBY4J_USER_HOME" - -WORKDIR "$STUBBY4J_USER_HOME" - -COPY --from=BUILD_JAR_STAGE /home/gradle/stubby4j/build/libs/stubby4j*SNAPSHOT.jar ./stubby4j.jar -COPY --from=BUILD_JAR_STAGE /home/gradle/stubby4j/docker/log4j2-for-docker.xml ./log4j2.xml -RUN chown $USER_ID:$GROUP_ID stubby4j.jar && \ - chown $USER_ID:$GROUP_ID log4j2.xml && \ - java -version && \ - ls -al - -# Set the UID and GID of 'stubby4j' for the ENTRYPOINT instructions, -# because root inside the container == root outside the container, -# since there’s a single kernel and a single, shared pool of UIDs and GIDs. -USER $USER_ID:$GROUP_ID - -# Mark the 'data' directory as volume -VOLUME "$STUBBY4J_USER_HOME/data" - -# Expose the three stubby4j ports and run the JAR -EXPOSE $ADMIN_PORT $STUBS_PORT $STUBS_TLS_PORT - -# https://www.docker.com/blog/apache-log4j-2-cve-2021-44228/ -ENTRYPOINT java \ - -DoverrideDisabledAlgorithms=true \ - -Dlog4j2.configurationFile=log4j2.xml \ - -jar stubby4j.jar \ - --location ${LOCATION} \ - --admin ${ADMIN_PORT} \ - --stubs ${STUBS_PORT} \ - --tls ${STUBS_TLS_PORT} \ - --data data/${YAML_CONFIG} \ - --mute \ - ${WITH_ARGS} From e1e989ba99533405bdb3e184503a29a05e4ea057 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:47:10 -0800 Subject: [PATCH 27/31] Update Dockerfile --- docker/jdk11/Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/docker/jdk11/Dockerfile b/docker/jdk11/Dockerfile index 4a5a89f8..f321fd96 100644 --- a/docker/jdk11/Dockerfile +++ b/docker/jdk11/Dockerfile @@ -1,5 +1,3 @@ -# Dockerfile for ARM64 images -# # A few useful Docker commands to build an image and run the stubby4j container. # # Build (run with '--no-cache' to ensure that Git repo new tags will be pulled down, as Docker caches RUNs): From abde960031cf3451784c56551d7c8fe703b3428d Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:49:10 -0800 Subject: [PATCH 28/31] Update Dockerfile --- docker/jdk16/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/jdk16/Dockerfile b/docker/jdk16/Dockerfile index 84488276..2ebc79b9 100644 --- a/docker/jdk16/Dockerfile +++ b/docker/jdk16/Dockerfile @@ -10,7 +10,7 @@ ######################################################################################## # Stage 1 : build the app ######################################################################################## -FROM gradle:7.2-jdk17@sha256:67de4380b26d2b5406077cf5439b3488d139f7fedd9bdb8ddfadbe277750ede8 AS BUILD_JAR_STAGE +FROM gradle:7.2.0-jdk17@sha256:e9e90cc97b29423dda5a2ff5ed7787a31ab7f43660bd83993a880e33e1504c7b AS BUILD_JAR_STAGE ARG REVISION=master ENV GRADLE_USER_HOME=/home/gradle From 3437e17f8116e889ccb1f50f358a8c25c3dfb5b1 Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 17:59:30 -0800 Subject: [PATCH 29/31] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 01ea0e0e..cf4d4812 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -292,10 +292,10 @@ build_push_image_steps: &build_push_image_steps working_directory: ~/repo/docker/jdk<< parameters.jdk_version >> command: | docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - docker context create tls-environment-multi-arch - docker buildx create tls-environment-multi-arch --use + docker context create tls-environment-jdk-<< parameters.jdk_version >> + docker buildx create tls-environment-jdk-<< parameters.jdk_version >> --use docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile --rm --no-cache -t azagniotov/stubby4j:latest-jre<< parameters.jdk_version >> --push . - docker context rm tls-environment-multi-arch + docker context rm tls-environment-jdk-<< parameters.jdk_version >> smoke_test_steps: &smoke_test_steps steps: From 1def729ae13605c0946b2019651799cf5baadfdc Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 18:08:40 -0800 Subject: [PATCH 30/31] Update config.yml --- .circleci/config.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cf4d4812..f66cd06d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -701,10 +701,10 @@ workflows: master-twelve-hour-jdk8: - # triggers: - # - schedule: - # cron: "10 7,19 * * *" - # <<: *filter_only_master + triggers: + - schedule: + cron: "10 6,18 * * *" + <<: *filter_only_master jobs: - gradle_7_2_0_jdk8: <<: *context_sonatype @@ -715,10 +715,10 @@ workflows: master-twelve-hour-jdk11: - # triggers: - # - schedule: - # cron: "15 7,19 * * *" - # <<: *filter_only_master + triggers: + - schedule: + cron: "15 7,19 * * *" + <<: *filter_only_master jobs: - gradle_7_2_0_jdk11: <<: *context_sonatype @@ -729,10 +729,10 @@ workflows: master-twelve-hour-jdk16: - # triggers: - # - schedule: - # cron: "20 7,19 * * *" - # <<: *filter_only_master + triggers: + - schedule: + cron: "20 8,20 * * *" + <<: *filter_only_master jobs: - gradle_7_2_0_jdk16: <<: *context_sonatype From 04c3bbbaaf27a14b5b3c87aa08a891187de6cd0e Mon Sep 17 00:00:00 2001 From: Alexander Zagniotov Date: Tue, 16 Jan 2024 18:09:13 -0800 Subject: [PATCH 31/31] Update config.yml --- .circleci/config.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f66cd06d..169a661d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -262,12 +262,6 @@ build_push_image_steps: &build_push_image_steps - setup_remote_docker: version: 20.10.11 - # - run: - # name: Install QEMU User Static on Alpine Linux - # command: | - # echo "" - # apk --no-cache add qemu-user-static - - run: name: Install cURL on Alpine Linux command: |