mirror of
https://github.com/wiidev/usbloadergx.git
synced 2025-07-12 15:05:48 +02:00
14 lines
349 B
Docker
14 lines
349 B
Docker
# Build:
|
|
# docker build -o . .
|
|
|
|
# Use an official image
|
|
FROM devkitpro/devkitppc:20250527 AS usbloadergx
|
|
|
|
# Copy current folder into container, then compile
|
|
COPY . /projectroot/
|
|
RUN cd /projectroot && make zip -j$(nproc)
|
|
|
|
# Copy the ZIP file out of the container
|
|
FROM scratch AS export-stage
|
|
COPY --from=usbloadergx /projectroot/usbloader_gx.zip /
|