2023-02-27 00:14:51 +01:00
|
|
|
FROM ghcr.io/n64-tools/gcc-toolchain-mips64:latest
|
|
|
|
|
2023-02-28 18:39:39 +01:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y \
|
|
|
|
python3 \
|
|
|
|
python3-serial \
|
|
|
|
python3-pil
|
2023-02-27 04:29:36 +01:00
|
|
|
|
2023-02-28 18:39:39 +01:00
|
|
|
RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \
|
|
|
|
&& echo "$SNIPPET" >> "/root/.bashrc"
|
2023-02-27 00:14:51 +01:00
|
|
|
|
2023-02-28 18:39:39 +01:00
|
|
|
# TODO: Really we want to use the sub module in /workspaces/N64FlashcartMenu/libdragon
|
2023-02-27 00:14:51 +01:00
|
|
|
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
|