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-1143/citra-linux-20181222-7a4fea0.tar.xz && \ tar --wildcards --strip=1 -xJf citra-linux.tar.xz */citra-room && rm citra-linux.tar.xz ENTRYPOINT [ "/usr/src/app/citra-room" ]