-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub.Dockerfile
More file actions
22 lines (17 loc) · 853 Bytes
/
Copy pathgithub.Dockerfile
File metadata and controls
22 lines (17 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM docker.cnb.cool/shirokasoke/env/pure
ENV maven_TOKEN=""
RUN apt install -y gnupg ca-certificates curl && \
curl -s https://repos.azul.com/azul-repo.key \
| sudo gpg --dearmor -o /usr/share/keyrings/azul.gpg && \
echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" \
| sudo tee /etc/apt/sources.list.d/zulu.list && \
apt update && \
apt install zulu8-jdk zulu17-jdk zulu21-jdk zulu25-jdk telnet -y && \
apt clean && \
rm -rf /var/lib/apt/lists/*
RUN cd /bin && curl -L https://arthas.aliyun.com/install.sh | sh
RUN GIT_LFS_SKIP_SMUDGE=1 git clone --depth=1 https://github.com/Rcrwrate/McWebAPI /tmp/repo &&\
cd /tmp/repo &&\
./gradlew setupDecompWorkspace
RUN cd /tmp/repo &&\
./gradlew injectTags spotlessApply build && rm -rf /tmp/repo/build/libs || true