-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6785d51
commit 845c1dc
Showing
2 changed files
with
44 additions
and
0 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,33 @@ | ||
FROM alpine:3.18.2 | ||
|
||
ARG DDNETPP_VERSION=v0.1.0 | ||
|
||
WORKDIR /ddnetpp | ||
|
||
RUN apk add cmake make g++ libpng-dev rust cargo sqlite-dev curl-dev python3 | ||
|
||
RUN wget -O ddnetpp.zip https://github.com/DDNetPP/DDNetPP/archive/refs/tags/$DDNETPP_VERSION.zip | ||
|
||
RUN unzip ddnetpp.zip | ||
RUN rm ddnetpp.zip | ||
RUN mv * ddnetpp-src | ||
|
||
RUN mkdir ddnetpp-src/build | ||
RUN cd ddnetpp-src/build && cmake .. -DPREFER_BUNDLED_LIBS=ON -DCLIENT=OFF && make -j$(nproc) | ||
|
||
FROM alpine:3.18.2 | ||
|
||
WORKDIR ddnetpp/ | ||
|
||
RUN apk add sqlite-dev curl | ||
|
||
COPY --from=0 /ddnetpp/ddnetpp-src/build/DDNet-Server . | ||
|
||
RUN mkdir maps | ||
|
||
# BlmapChill v0183 | ||
RUN wget -O "maps/BlmapChill.map" https://github.com/DDNetPP/maps/raw/52774bedf96151518893c7b665bfe6952ec950ed/BlmapChill.map | ||
|
||
|
||
CMD ["/ddnetpp/DDNetPP"] | ||
|
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,11 @@ | ||
# ddnetpp (DDNet++) | ||
|
||
DDNet++ is a server modification based on ddnet. | ||
It adds block and city extensions while keeping the ddrace functionality. | ||
|
||
``` | ||
podman run -ti docker.io/chillerdragon/ddnetpp:v0.1.0 | ||
``` | ||
|
||
Is running a DDNet++ server with the default config, sqlite3 and the map BlmapChill | ||
|