This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch docker/alpine
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 08747fd2a16ea71333a175b01aea8ba4e808240d
Author: kezhenxu94 <[email protected]>
AuthorDate: Wed Aug 2 15:49:11 2023 +0800

    Try to build Docker images based on alpine
---
 .github/workflows/publish-docker.yaml       | 2 +-
 .github/workflows/skywalking.yaml           | 3 +++
 docker/data-generator/Dockerfile            | 2 +-
 docker/oap/Dockerfile                       | 2 +-
 docker/ui/Dockerfile                        | 2 +-
 test/e2e-v2/script/dockerfile/Dockerfile.h2 | 2 +-
 6 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/publish-docker.yaml 
b/.github/workflows/publish-docker.yaml
index 78f6cceefd..8c247741eb 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -76,7 +76,7 @@ jobs:
         uses: docker/setup-buildx-action@v1
       - name: Build and push docker images based on Java 17
         env:
-          SW_OAP_BASE_IMAGE: eclipse-temurin:17-jre
+          SW_OAP_BASE_IMAGE: eclipse-temurin:17-jre-alpine
           TAG: ${{ env.TAG }}-java17
         run: make build.all docker.push
       - name: Build and push docker images
diff --git a/.github/workflows/skywalking.yaml 
b/.github/workflows/skywalking.yaml
index 4813372aee..07e139a1c2 100644
--- a/.github/workflows/skywalking.yaml
+++ b/.github/workflows/skywalking.yaml
@@ -17,6 +17,9 @@
 name: CI
 
 on:
+  push:
+    branches:
+      - docker/alpine
   pull_request:
   schedule:
     - cron: "0 18 * * *" # TimeZone: UTC 0
diff --git a/docker/data-generator/Dockerfile b/docker/data-generator/Dockerfile
index aa0d14ab40..0519bd24b4 100644
--- a/docker/data-generator/Dockerfile
+++ b/docker/data-generator/Dockerfile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-ARG BASE_IMAGE='eclipse-temurin:11-jre'
+ARG BASE_IMAGE='eclipse-temurin:11-jre-alpine'
 
 ARG SKYWALKING_CLI_VERSION
 
diff --git a/docker/oap/Dockerfile b/docker/oap/Dockerfile
index aa0d14ab40..0519bd24b4 100644
--- a/docker/oap/Dockerfile
+++ b/docker/oap/Dockerfile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-ARG BASE_IMAGE='eclipse-temurin:11-jre'
+ARG BASE_IMAGE='eclipse-temurin:11-jre-alpine'
 
 ARG SKYWALKING_CLI_VERSION
 
diff --git a/docker/ui/Dockerfile b/docker/ui/Dockerfile
index da31815e8c..ab7a8a7e05 100644
--- a/docker/ui/Dockerfile
+++ b/docker/ui/Dockerfile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM eclipse-temurin:11-jre
+FROM eclipse-temurin:11-jre-alpine
 
 ENV JAVA_OPTS=" -Xms256M " \
     SW_OAP_ADDRESS="http://127.0.0.1:12800"; \
diff --git a/test/e2e-v2/script/dockerfile/Dockerfile.h2 
b/test/e2e-v2/script/dockerfile/Dockerfile.h2
index 7efd79543b..8322d4512f 100644
--- a/test/e2e-v2/script/dockerfile/Dockerfile.h2
+++ b/test/e2e-v2/script/dockerfile/Dockerfile.h2
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM eclipse-temurin:11-jre
+FROM eclipse-temurin:11-jre-alpine
 
 WORKDIR /h2
 

Reply via email to