diff --git a/gitea-runner/DockerDockerfile b/gitea-runner/DockerDockerfile new file mode 100644 index 0000000..c114176 --- /dev/null +++ b/gitea-runner/DockerDockerfile @@ -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 \ No newline at end of file diff --git a/gitea-runner/Java17Dockerfile b/gitea-runner/Java17Dockerfile new file mode 100644 index 0000000..3a0c774 --- /dev/null +++ b/gitea-runner/Java17Dockerfile @@ -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 \ No newline at end of file diff --git a/gitea-runner/Java18Dockerfile b/gitea-runner/Java18Dockerfile new file mode 100644 index 0000000..530e22d --- /dev/null +++ b/gitea-runner/Java18Dockerfile @@ -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 \ No newline at end of file diff --git a/gitea-runner/MavenDockerfile b/gitea-runner/MavenDockerfile new file mode 100644 index 0000000..4f1f177 --- /dev/null +++ b/gitea-runner/MavenDockerfile @@ -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 \ No newline at end of file diff --git a/gitea-runner/Node18xDockerfile b/gitea-runner/Node18xDockerfile index 4aacf1d..d2c0b95 100644 --- a/gitea-runner/Node18xDockerfile +++ b/gitea-runner/Node18xDockerfile @@ -4,4 +4,4 @@ FROM docker:stable 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 +RUN apk add nodejs npm --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --allow-untrusted \ No newline at end of file