-
-
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.
feat: update build configuration for Release mode and enhance README …
…with correct download links; add Dockerfile for containerization
- Loading branch information
1 parent
4db6ccf
commit 0873f45
Showing
3 changed files
with
30 additions
and
6 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
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
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,24 @@ | ||
FROM ubuntu:latest | ||
|
||
# Expose ports | ||
EXPOSE 8081/tcp | ||
EXPOSE 8081/udp | ||
|
||
# Set workdir to folder /app | ||
WORKDIR /app | ||
|
||
# Update package updater | ||
RUN apt-get update -y | ||
|
||
# Install needed packages | ||
RUN apt-get install sudo -y | ||
RUN sudo apt-get install -y libtbb-dev xorg-dev libglu1-mesa-dev libxrandr-dev curl tar build-essential wget | ||
|
||
# Add github.com to known hosts | ||
RUN wget https://github.com/MasterLaplace/Flakkari/releases/latest/download/flakkari-linux.deb | ||
|
||
RUN dpkg -i flakkari-linux.deb | ||
RUN mkdir Games | ||
|
||
# Launch the generated executable | ||
CMD ["sh", "-c", "flakkari", "Games/", "localhost", "8081"] |