First commit
This commit is contained in:
24
dockerfile
Normal file
24
dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM debian:bullseye
|
||||
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
|
||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||
apt update && apt-get upgrade -y && apt-get install -y git cmake build-essential libluajit-5.1-dev libmariadb-dev-compat libboost-date-time-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev libfmt-dev zlib1g-dev libgmp-dev libboost-all-dev curl iproute2
|
||||
|
||||
#RUN useradd -m -s /bin/bash tibia && mv /app/SabrehavenServer /home/tibia && chown -R tibia:tibia /home/tibia/SabrehavenServer
|
||||
RUN useradd -m -s /bin/bash tibia
|
||||
RUN echo "tibia:tibia" | chpasswd
|
||||
#USER tibia
|
||||
|
||||
WORKDIR /home/tibia
|
||||
|
||||
|
||||
COPY app /home/tibia
|
||||
|
||||
|
||||
#RUN mv SabrehavenServer /home/tibia
|
||||
|
||||
#RUN chown -R tibia:tibia /home/tibia/SabrehavenServer
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
|
||||
ENV TIBIA_VERSION="8.0"
|
Reference in New Issue
Block a user