Updated README and Dockerfile
This commit is contained in:
parent
c58c968b7a
commit
f0beedeca3
40
Dockerfile
40
Dockerfile
@ -24,33 +24,33 @@ RUN apt-get upgrade --yes
|
|||||||
RUN apt-get install --yes --quiet libsdl-image1.2 zandronum
|
RUN apt-get install --yes --quiet libsdl-image1.2 zandronum
|
||||||
|
|
||||||
# Create a non-privileged user
|
# Create a non-privileged user
|
||||||
RUN useradd -ms /bin/bash zandronum
|
RUN useradd -ms /bin/bash server
|
||||||
|
|
||||||
# Build the app directory and add files
|
# Build the app directory and add files
|
||||||
RUN mkdir /home/zandronum/config && \
|
RUN mkdir /home/server/config && \
|
||||||
mkdir /home/zandronum/wad/ && \
|
mkdir /home/server/wad/ && \
|
||||||
mkdir /home/zandronum/iwad/ && \
|
mkdir /home/server/iwad/ && \
|
||||||
mkdir /home/zandronum/bin/ && \
|
mkdir /home/server/bin/ && \
|
||||||
mkdir /home/zandronum/player/ && \
|
mkdir /home/server/player/ && \
|
||||||
mkdir /home/zandronum/logs/
|
mkdir /home/server/logs/
|
||||||
|
|
||||||
COPY /config/ /home/zandronum/config/
|
COPY /config/ /home/server/config/
|
||||||
COPY /bin/ /home/zandronum/bin/
|
COPY /bin/ /home/server/bin/
|
||||||
COPY /player/ /home/zandronum/player/
|
COPY /player/ /home/server/player/
|
||||||
COPY /iwad/ /home/zandronum/iwad/
|
COPY /iwad/ /home/server/iwad/
|
||||||
COPY /wad/ /home/zandronum/wad/
|
COPY /wad/ /home/server/wad/
|
||||||
|
|
||||||
# RUN wget -O /home/zandronum/config/masterbanlist.txt https://zandronum.com/banlist && \
|
# RUN wget -O /home/server/config/masterbanlist.txt https://zandronum.com/banlist && \
|
||||||
# cat masterbanlist.txt >> /home/zandronum/player/banlist.txt
|
# cat masterbanlist.txt >> /home/server/player/banlist.txt
|
||||||
# Zandronum has a config 'sv_enforcemasterlist'
|
# Zandronum has a config 'sv_enforcemasterlist'
|
||||||
# so this isnt needed unless you want a local static copy
|
# so this isnt needed unless you want a local static copy
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
RUN chown -R zandronum:zandronum /home/zandronum
|
RUN chown -R server:server /home/server
|
||||||
USER zandronum
|
USER server
|
||||||
WORKDIR /home/zandronum
|
WORKDIR /home/server
|
||||||
RUN chmod +x /home/zandronum/bin/start.bash
|
RUN chmod +x /home/server/bin/start.bash
|
||||||
|
|
||||||
CMD ["/home/zandronum/bin/start.bash"]
|
CMD ["/home/server/bin/start.bash"]
|
||||||
ENTRYPOINT [ "/home/zandronum/bin/start.bash" ]
|
ENTRYPOINT [ "/home/server/bin/start.bash" ]
|
||||||
EXPOSE 10666
|
EXPOSE 10666
|
||||||
|
11
README.md
11
README.md
@ -2,4 +2,15 @@
|
|||||||
Docker image built at SuperComputing 2023 in Denver, CO for a Docker Tutorial Class for utilizing containers for HPC and specific use cases.
|
Docker image built at SuperComputing 2023 in Denver, CO for a Docker Tutorial Class for utilizing containers for HPC and specific use cases.
|
||||||
|
|
||||||
## So, you reinvented the wheel?
|
## So, you reinvented the wheel?
|
||||||
|
|
||||||
|
Well... yeah kinda.
|
||||||
|
|
||||||
![But why?](https://media.tenor.com/jGgmfDOxmuMAAAAC/ryan-reynolds-but-why.gif)
|
![But why?](https://media.tenor.com/jGgmfDOxmuMAAAAC/ryan-reynolds-but-why.gif)
|
||||||
|
|
||||||
|
Because, I love boomer shooters (specifically Doom2, Doom64, and Duke Nukem 3D) and wanted to use an actual use case that I would like to use myself in my tutorial class. As I built this, I realized there was a plethora of other awesome projects with very similar setups, but meh, why not one more?
|
||||||
|
|
||||||
|
### List of Other Projects similar to this one
|
||||||
|
|
||||||
|
* [frozenfoxx/docker-zandronum-server](https://github.com/frozenfoxx/docker-zandronum-server)
|
||||||
|
* [rcdailey/zandronum-server](https://github.com/rcdailey/zandronum-server)
|
||||||
|
* [mccarrmb/docker-doom](https://github.com/mccarrmb/docker-doom)
|
Loading…
Reference in New Issue
Block a user