Added Dockerfile.
This commit is contained in:
parent
9eef7d8b93
commit
da6c4652e9
|
@ -0,0 +1,15 @@
|
||||||
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
|
# Fixes libcurl.so.4 dependency issue.
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
wget libcurl4-openssl-dev libsdl2-dev
|
||||||
|
|
||||||
|
# Create app directory
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
# Download the Citra binary.
|
||||||
|
# Bundle citra-room inside the image and delete the downloaded tar file.
|
||||||
|
RUN wget -O citra-linux.tar.xz https://github.com/citra-emu/citra-canary/releases/download/canary-397/citra-linux-20180307-898da90.tar.xz && \
|
||||||
|
tar --wildcards --strip=1 -xJf citra-linux.tar.xz */citra-room && rm citra-linux.tar.xz
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/usr/src/app/citra-room" ]
|
Reference in New Issue