16 lines
651 B
Plaintext
16 lines
651 B
Plaintext
|
FROM git.rainnny.club/rainnny/gitea-runner:docker
|
||
|
|
||
|
# Update & Install packages
|
||
|
RUN apt-get update -y \
|
||
|
&& apt-get install lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 iproute2 libstdc++6 wget maven libc6-x32 libc6-i386 -y
|
||
|
|
||
|
# Install NodeJS
|
||
|
RUN curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh
|
||
|
RUN bash /tmp/nodesource_setup.sh
|
||
|
RUN apt install nodejs -y
|
||
|
|
||
|
# Install OpenJDK 18
|
||
|
RUN wget https://download.oracle.com/java/18/latest/jdk-18_linux-x64_bin.deb
|
||
|
RUN dpkg -i jdk-18_linux-x64_bin.deb
|
||
|
RUN update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-18/bin/java 1
|
||
|
RUN java -version
|