Skip to content

Commit 0560d1f

Browse files
feat: Install java on container (#50)
1 parent ce8b0e6 commit 0560d1f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Dockerfile

+7-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ FROM ghcr.io/actions/actions-runner:2.322.0@sha256:c02e8e1b479ea39b196c3bb0a40a6
33
USER root
44

55
RUN apt-get update \
6-
&& apt-get -y install curl git \
7-
&& apt-get -y install jq \
8-
&& apt-get -y install zip unzip \
9-
&& apt-get -y install build-essential \
10-
&& apt-get -y install ca-certificates wget apt-transport-https lsb-release gnupg \
6+
&& apt-get -y install curl git \
7+
&& apt-get -y install jq \
8+
&& apt-get -y install zip unzip \
9+
&& apt-get -y install build-essential \
10+
&& apt-get -y install openjdk-17-jdk \
11+
&& apt-get -y install ca-certificates wget apt-transport-https lsb-release gnupg \
1112
&& apt-get clean \
1213
&& rm -rf /var/lib/apt/lists/
1314

@@ -64,6 +65,7 @@ RUN whoami \
6465
&& echo "kubelogin client: $(kubelogin --version)" \
6566
&& echo "helm: $(helm version)" \
6667
&& echo "yq: $(yq --version)" \
68+
&& echo "java: $(java --version)" \
6769
&& echo "node: $(node --version)" \
6870
&& echo "npm: $(npm --version)" \
6971
&& echo "yarn: $(yarn --version)"

0 commit comments

Comments
 (0)