Skip to content

Commit

Permalink
build(dockerfile): use kona jdk (TencentBlueKing#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Ya-Jun authored and Carlmac committed Sep 10, 2024
1 parent 853d790 commit df9d833
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ ARG TAG=3.10.12-slim-bullseye
FROM ${IMAGE}:${TAG}

RUN apt-get update && apt-get install -y libssl-dev default-libmysqlclient-dev libffi-dev \
build-essential libc6-dev libjpeg-dev zlib1g-dev vim procps default-mysql-client curl openjdk-11-jdk maven
build-essential libc6-dev libjpeg-dev zlib1g-dev vim procps default-mysql-client curl zip unzip

# install kona-jdk maven
RUN curl -s "https://get.sdkman.io" | bash
RUN bash -c "source /root/.sdkman/bin/sdkman-init.sh && sdk install java 11.0.19-kona && apt-get -y install maven"

ARG PYPI="https://pypi.org/simple/"
RUN pip config set global.index-url "${PYPI}"

Expand Down

0 comments on commit df9d833

Please sign in to comment.