mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-12-24 01:01:52 +01:00
16 lines
500 B
Docker
16 lines
500 B
Docker
FROM ghcr.io/n64-tools/gcc-toolchain-mips64:latest
|
|
|
|
RUN apt-get update && apt-get install -y python3 python3-serial python3-pil
|
|
|
|
RUN mkdir -p /etc/udev/rules.d
|
|
RUN echo 'KERNEL=="ttyUSB[0-9]*",MODE="0666' > /etc/udev/rules.d/99-serial.rules
|
|
|
|
RUN git clone --branch trunk https://github.com/dragonminded/libdragon.git --depth 1 ./sources/libdragon
|
|
|
|
RUN cd ./sources/libdragon && \
|
|
make -j libdragon && \
|
|
make install && \
|
|
make -j tools && \
|
|
make tools-install && \
|
|
make install-mk
|