Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

177 core add docker support #197

Merged
merged 5 commits into from
Mar 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This not yet functional!
FROM ubuntu:latest

RUN apt-get update -y && apt-get install wget jq unzip libx11-dev libxext6 -y && mkdir /GView

WORKDIR /GView

RUN wget -O releases.json https://api.github.com/repos/gdt050579/GView/releases && \
jq -r '.[0].assets | . [] | select(.name|test(".*Linux.*")) .browser_download_url' releases.json > link.txt && \
wget -i link.txt && \
unzip GView-Linux* && \
rm -f GView-Linux-* \ && \
./GView reset && \
sed -i 's/Frontend = default/Frontend = SDL/' GView.ini

CMD ["./GView"]
Loading