2023-12-22 11:16:02 +00:00
|
|
|
FROM ubuntu:22.04 AS build
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
2024-12-08 21:09:26 +00:00
|
|
|
apt-get install -y build-essential wget cmake \
|
2023-12-22 11:16:02 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
|
|
|
|
|
|
|
COPY .. .
|
2024-12-08 21:07:29 +00:00
|
|
|
RUN make base.en
|
2023-12-22 11:16:02 +00:00
|
|
|
|
|
|
|
FROM ubuntu:22.04 AS runtime
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
2024-12-08 21:09:26 +00:00
|
|
|
apt-get install -y curl ffmpeg libsdl2-dev wget cmake \
|
2023-12-22 11:16:02 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
|
|
|
|
|
|
|
COPY --from=build /app /app
|
|
|
|
ENTRYPOINT [ "bash", "-c" ]
|