From ae6d7d6968433b9527afe5e7d67d089b5d0676c0 Mon Sep 17 00:00:00 2001 From: Enix Yu Date: Thu, 16 Feb 2023 09:22:47 +0800 Subject: [PATCH] fix: remove alpine imag build --- .github/workflows/main.yml | 13 ------------- Dockerfile_alpine | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index efd06fe..9eb45a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,19 +22,6 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build 17-jdk-alpine - uses: docker/build-push-action@v3 - with: - context: . - platforms: linux/amd64 - build-args: | - JDKVER=17.0.6_10 - TDVERSION=3.0.2.5 - file: Dockerfile_alpine - push: true - tags: | - enix223/tdengine-openjdk-client:17.0.6_10-jdk-alpine-3.0.2.5 - enix223/tdengine-openjdk-client:17-jdk-alpine-3.0.2.5 - name: Build 17-jdk-focal uses: docker/build-push-action@v3 with: diff --git a/Dockerfile_alpine b/Dockerfile_alpine index e59ccbe..04ee95a 100644 --- a/Dockerfile_alpine +++ b/Dockerfile_alpine @@ -1,12 +1,12 @@ ARG JDKVER=17.0.6_10 -FROM alpine:3.17.2 AS build-env +FROM alpine:3.16 AS build-env ARG TDVERSION=3.0.2.5 ARG TDVERSION_FULL=ver-${TDVERSION} WORKDIR /tdengine RUN apk add --no-cache alpine-sdk gcc musl-dev git cmake bash -RUN apk add --no-cache jansson-dev snappy-dev xz-dev libzip-dev zlib-dev +RUN apk add --no-cache jansson-dev snappy-dev xz-dev libzip-dev zlib-dev libexecinfo libexecinfo-dev RUN git clone --depth=1 -b ${TDVERSION_FULL} https://github.com/taosdata/TDengine . RUN git submodule update --init --recursive