This commit is contained in:
Lee 2023-05-03 06:50:19 +01:00
parent c7b18f6fe0
commit 0339b3d4cb
5 changed files with 47 additions and 1 deletions

@ -0,0 +1,10 @@
FROM ubuntu:22.04
# Configure DPKG, Run APT Update & Install Packages
RUN set -e \
&& dpkg --configure -a \
&& apt update -y \
&& apt install curl apt-utils -y
# Install Docker
RUN curl -sSL https://get.docker.com/ | CHANNEL=stable bash

@ -0,0 +1,10 @@
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 openjdk-17-jre maven -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

@ -0,0 +1,16 @@
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

@ -0,0 +1,10 @@
FROM docker:stable
# Install packages
RUN apk add --no-cache curl wget git
# Install Node 18
RUN apk add nodejs npm --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --allow-untrusted
# Install Maven
RUN apk add maven