Compare commits
2 Commits
e345d3fa24
...
aff927cf78
Author | SHA1 | Date | |
---|---|---|---|
aff927cf78 | |||
0339b3d4cb |
10
gitea-runner/DockerDockerfile
Normal file
10
gitea-runner/DockerDockerfile
Normal file
@ -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
|
10
gitea-runner/Java17Dockerfile
Normal file
10
gitea-runner/Java17Dockerfile
Normal file
@ -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
|
16
gitea-runner/Java18Dockerfile
Normal file
16
gitea-runner/Java18Dockerfile
Normal file
@ -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
|
10
gitea-runner/MavenDockerfile
Normal file
10
gitea-runner/MavenDockerfile
Normal file
@ -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
|
@ -4,4 +4,4 @@ FROM docker:stable
|
|||||||
RUN apk add --no-cache curl wget git
|
RUN apk add --no-cache curl wget git
|
||||||
|
|
||||||
# Install Node 18
|
# 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
|
Loading…
Reference in New Issue
Block a user