This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lwjglAgent configuration, add Dockerfile
- Loading branch information
1 parent
7b4a639
commit 1590654
Showing
4 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM openjdk:17-alpine | ||
|
||
WORKDIR /pingbypass | ||
COPY . /pingbypass | ||
|
||
RUN mkdir -p pb-server/run/client/mods | ||
RUN wget -O pb-server/run/client/mods/hmc-specifics-1.20.4.jar \ | ||
https://github.com/3arthqu4ke/hmc-specifics/releases/download/v1.20.4-1.8.1/hmc-specifics-fabric-1.20.4-1.8.1.jar | ||
|
||
RUN wget -O pb-server/run/client/mods/hmc-optimizations-0.1.0-fabric.jar \ | ||
https://github.com/3arthqu4ke/hmc-optimizations/releases/download/latest/hmc-optimizations-0.1.0-fabric.jar | ||
|
||
RUN mkdir -p pb-server/run/client/ | ||
RUN cp -f config/options.txt pb-server/run/client/ | ||
|
||
RUN mkdir -p pb-server/run/client/pingbypass/server/ | ||
RUN cp -f config/pingbypass.properties pb-server/run/client/pingbypass/server/ | ||
|
||
RUN chmod +x gradlew | ||
RUN ./gradlew -Phmc.lwjgl=true test | ||
RUN ./gradlew -Phmc.lwjgl=true pb-server:fabricJar | ||
RUN ./gradlew -Phmc.lwjgl=true pb-server:fabricPreRunClient | ||
ENTRYPOINT sh -c "./gradlew -Phmc.lwjgl=true pb-server:fabricRunClient --console=plain" | ||
EXPOSE 25565 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version:3700 | ||
autoJump:false | ||
enableVsync:false | ||
touchscreen:false | ||
fullscreen:false | ||
renderDistance:12 | ||
simulationDistance:12 | ||
maxFps:260 | ||
graphicsMode:1 | ||
skipMultiplayerWarning:true | ||
joinedFirstServer:true | ||
onboardAccessibility:false |
File renamed without changes.