mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
21 lines
456 B
Docker
21 lines
456 B
Docker
# First stage
|
|
FROM alpine:latest
|
|
|
|
COPY . /src
|
|
|
|
|
|
RUN apk add build-base wget git bash cmake python3 glu-dev sdl2-dev
|
|
|
|
RUN cd src/ffmpeg && ./linux_x86-64.sh
|
|
RUN cd src && ./b.sh --headless
|
|
|
|
# Second stage
|
|
FROM alpine:latest
|
|
|
|
# Install required dependencies to make headless to work
|
|
RUN apk add --no-cache sdl2 libstdc++ glu-dev
|
|
|
|
# Copy minimal things to make headless to work
|
|
COPY --from=0 src/build/PPSSPPHeadless usr/local/bin/
|
|
|
|
RUN PPSSPPHeadless || true |