From da6c4652e9ae89fb9a6373f3a86fc248a02a836e Mon Sep 17 00:00:00 2001 From: chris062689 Date: Wed, 7 Mar 2018 18:32:18 -0500 Subject: [PATCH] Added Dockerfile. --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4312d4c --- /dev/null +++ b/Dockerfile @@ -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" ]