1
0
Fork 0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
citra-multiplayer-dedicated/Dockerfile

21 lines
711 B
Docker
Raw Normal View History

2021-12-27 02:30:33 +00:00
# syntax=docker/dockerfile:1.3
2023-08-06 14:49:37 +00:00
FROM debian:bookworm AS build
ENV DEBIAN_FRONTEND=noninteractive
2021-12-27 02:30:33 +00:00
ARG USE_CCACHE
RUN apt-get update && apt-get -y full-upgrade && \
2023-08-06 14:49:37 +00:00
apt-get install -y build-essential wget git ccache cmake ninja-build libssl-dev jq python3 glslang-tools
2018-03-07 23:32:18 +00:00
COPY . /root/build-files
2021-12-27 02:30:33 +00:00
RUN --mount=type=cache,id=ccache,target=/root/.ccache \
2023-08-06 14:49:37 +00:00
/root/build-files/.ci/fetch.sh /root/citra-canary && \
cd /root/citra-canary && /root/build-files/.ci/build.sh
FROM gcr.io/distroless/cc-debian11 AS final
LABEL maintainer="citraemu"
2018-03-07 23:32:18 +00:00
# Create app directory
WORKDIR /usr/src/app
COPY --from=build /root/citra-canary/build/bin/Release/citra-room /usr/src/app
2018-03-07 23:32:18 +00:00
ENTRYPOINT [ "/usr/src/app/citra-room" ]