16 lines
568 B
Docker
16 lines
568 B
Docker
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-561/citra-linux-20180620-09b39d1.tar.xz && \
|
|
tar --wildcards --strip=1 -xJf citra-linux.tar.xz */citra-room && rm citra-linux.tar.xz
|
|
|
|
ENTRYPOINT [ "/usr/src/app/citra-room" ]
|