dockerfile: further reduces image size ...
... by using Google's Distroless image
This commit is contained in:
parent
ae7cf49152
commit
ac6ea2e7a8
|
@ -11,10 +11,8 @@ RUN --mount=type=cache,id=ccache,target=/root/.ccache \
|
|||
git clone --depth 1000 --recursive https://github.com/citra-emu/citra-canary.git /root/citra-canary && \
|
||||
cd /root/citra-canary && /root/build-files/.ci/build.sh
|
||||
|
||||
FROM debian:bullseye-slim AS final
|
||||
FROM gcr.io/distroless/cc-debian11 AS final
|
||||
LABEL maintainer="citraemu"
|
||||
RUN apt-get update && apt-get install -y ca-certificates && \
|
||||
rm -rf /var/lib/apt/lists/
|
||||
# Create app directory
|
||||
WORKDIR /usr/src/app
|
||||
COPY --from=build /root/citra-canary/build/bin/Release/citra-room /usr/src/app
|
||||
|
|
Reference in New Issue