1
0
Fork 0

Added Dockerfile.

This commit is contained in:
chris062689 2018-03-07 18:32:18 -05:00
parent 9eef7d8b93
commit da6c4652e9
1 changed files with 15 additions and 0 deletions

15
Dockerfile Normal file
View File

@ -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" ]