Skip to content

Commit 811546e

Browse files
authoredFeb 19, 2025··
fix(action): fix release action (#2325)
Signed-off-by: Robin Han <[email protected]>
1 parent f0266fc commit 811546e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed
 

‎.github/workflows/docker-release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Docker Release
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- '[0-9]+.[0-9]+.[0-9]+'
@@ -69,4 +70,4 @@ jobs:
6970
context: ./docker
7071
push: true
7172
tags: ${{ steps.image_tags.outputs.tags }}
72-
platforms: linux/amd64,linux/arm64
73+
platforms: linux/amd64,linux/arm64

‎docker/Dockerfile

+4-6
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
ARG jdk_version=openjdk:17-bullseye
17-
FROM $jdk_version
16+
FROM docker.io/debian:bookworm
17+
1818

1919
MAINTAINER AutoMQ for Apache Kafka dev@automq.com
2020

21-
# Set mirrors
22-
ARG general_mirror_url=""
23-
RUN [ -z "${general_mirror_url}" ] || (sed -i "s/deb.debian.org/${general_mirror_url}/g" /etc/apt/sources.list && sed -i "s|security.debian.org/debian-security|${general_mirror_url}/debian-security|g" /etc/apt/sources.list)
24-
RUN apt-get update -y && apt-get install -y vim
21+
RUN apt-get update && apt-get install -y ca-certificates dnsutils iputils-ping curl wget netcat-openbsd sysstat net-tools htop procps zlib1g vim less openjdk-17-jdk libjemalloc-dev ipset iproute2 && \
22+
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
2523

2624
# Do not ask for confirmations when running apt-get, etc.
2725
ENV DEBIAN_FRONTEND=noninteractive \

0 commit comments

Comments
 (0)
Please sign in to comment.