Skip to content

Commit

Permalink
Work in progress ddnet++
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Oct 31, 2023
1 parent 6785d51 commit 845c1dc
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
33 changes: 33 additions & 0 deletions ddnetpp/Dockerfile
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"]

11 changes: 11 additions & 0 deletions ddnetpp/README.md
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

0 comments on commit 845c1dc

Please sign in to comment.