mirror of
https://github.com/Gurkengewuerz/nitro-docker.git
synced 2024-11-23 00:20:52 +01:00
fix: update camera plugin
This commit is contained in:
parent
1b27e9fed0
commit
f0e9ccbbcc
@ -14,13 +14,6 @@ RUN mvn package
|
|||||||
RUN cp target/NitroWebsockets-*.jar target/websockets.jar
|
RUN cp target/NitroWebsockets-*.jar target/websockets.jar
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /build/apollyon
|
|
||||||
RUN git clone --recurse-submodules https://git.krews.org/morningstar/archive/apollyon.git .
|
|
||||||
RUN sed -i 's#<version>3.0.0</version>#<version>[1.0.0,)</version>#g' pom.xml
|
|
||||||
RUN mvn package
|
|
||||||
RUN cp target/Apollyon-*.jar target/apollyon.jar
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FROM maven:3-amazoncorretto-19 AS builder-ms4
|
FROM maven:3-amazoncorretto-19 AS builder-ms4
|
||||||
|
|
||||||
@ -33,9 +26,17 @@ RUN git clone --branch ${BRANCH} --recurse-submodules https://git.krews.org/morn
|
|||||||
RUN sed -i 's#Scanner scanner = new Scanner(System.in);##g' src/main/java/com/eu/habbo/Emulator.java
|
RUN sed -i 's#Scanner scanner = new Scanner(System.in);##g' src/main/java/com/eu/habbo/Emulator.java
|
||||||
RUN sed -i 's#scanner.nextLine();##g' src/main/java/com/eu/habbo/Emulator.java
|
RUN sed -i 's#scanner.nextLine();##g' src/main/java/com/eu/habbo/Emulator.java
|
||||||
RUN mvn package
|
RUN mvn package
|
||||||
|
RUN mvn install
|
||||||
RUN cp target/Morningstar*-with-dependencies.jar target/emulator.jar
|
RUN cp target/Morningstar*-with-dependencies.jar target/emulator.jar
|
||||||
|
|
||||||
|
|
||||||
|
WORKDIR /build/apollyon
|
||||||
|
RUN git clone --recurse-submodules https://git.gurkengewuerz.de/nitro/apollyon-ms4.git .
|
||||||
|
RUN sed -i 's#<version>4.0-DEVPREVIEW</version>#<version>[1.0.0,)</version>#g' pom.xml
|
||||||
|
RUN mvn package
|
||||||
|
RUN cp target/Apollyon-*.jar target/apollyon.jar
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FROM amazoncorretto:19-alpine
|
FROM amazoncorretto:19-alpine
|
||||||
|
|
||||||
@ -46,6 +47,6 @@ RUN apk add --no-cache mariadb-client bash
|
|||||||
COPY --from=builder-ms4 /build/arcturus-community/target/emulator.jar /app/emulator.jar
|
COPY --from=builder-ms4 /build/arcturus-community/target/emulator.jar /app/emulator.jar
|
||||||
RUN mkdir -p /app/plugins
|
RUN mkdir -p /app/plugins
|
||||||
COPY --from=builder-ms3 /build/arcturus-ws/target/websockets.jar /app/plugins/websockets.jar
|
COPY --from=builder-ms3 /build/arcturus-ws/target/websockets.jar /app/plugins/websockets.jar
|
||||||
COPY --from=builder-ms3 /build/apollyon/target/apollyon.jar /app//plugins/apollyon.jar
|
COPY --from=builder-ms4 /build/apollyon/target/apollyon.jar /app/plugins/apollyon.jar
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/java", "-jar", "/app/emulator.jar"]
|
ENTRYPOINT ["/usr/bin/java", "-jar", "/app/emulator.jar"]
|
Loading…
Reference in New Issue
Block a user