first commit
This commit is contained in:
17
dockerfile
Normal file
17
dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM debian:bullseye
|
||||
|
||||
RUN apt-get update && apt-get full-upgrade -y && apt-get install -y git build-essential cmake libboost-all-dev libphysfs-dev libssl-dev liblua5.1-0-dev libglew-dev libvorbis-dev libopenal-dev zlib1g-dev sudo
|
||||
|
||||
WORKDIR /app
|
||||
COPY app/build_physfs.sh /app
|
||||
|
||||
RUN useradd -m -s /bin/bash tibia && echo "tibia:tibia" | chpasswd
|
||||
RUN /app/build_physfs.sh && chown -R tibia:tibia /home/tibia
|
||||
|
||||
COPY app/build_otc.sh /home/tibia
|
||||
|
||||
RUN su - tibia -c /home/tibia/build_otc.sh
|
||||
|
||||
USER tibia
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
Reference in New Issue
Block a user