mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2025-12-18 19:15:58 +01:00
It does not work. Remove develop branch from publish It breaks things. Improve tests for website publish Fix build Rename devcontainer base as we currently only support the SC64, and even if we supported others, can use the same devcontainer. Remove flashcart-other devcontainer It currently serves no purpose. Use separate bash history for dev containers. Rename flashcart-all devcontainer to flashcart-other
24 lines
1.0 KiB
Docker
24 lines
1.0 KiB
Docker
FROM debian:trixie-slim
|
|
|
|
ARG SC64_DEPLOYER_VERSION=v2.20.2
|
|
|
|
# Minimal image: install only what's needed for building and the project's toolchain
|
|
RUN apt-get update && \
|
|
apt-get upgrade -y && \
|
|
apt-get install -y build-essential git python3 wget
|
|
|
|
# Install libdragon toolchain (packaged .deb)
|
|
RUN wget https://github.com/DragonMinded/libdragon/releases/download/toolchain-continuous-prerelease/gcc-toolchain-mips64-x86_64.deb && \
|
|
dpkg -i gcc-toolchain-mips64-x86_64.deb && \
|
|
rm gcc-toolchain-mips64-x86_64.deb
|
|
|
|
# Install SummerCart64 deployer
|
|
RUN wget https://github.com/Polprzewodnikowy/SummerCart64/releases/download/$SC64_DEPLOYER_VERSION/sc64-deployer-linux-$SC64_DEPLOYER_VERSION.tar.gz && \
|
|
tar -xf sc64-deployer-linux-$SC64_DEPLOYER_VERSION.tar.gz -C /usr/local/bin && \
|
|
rm sc64-deployer-linux-$SC64_DEPLOYER_VERSION.tar.gz
|
|
|
|
# Environment Config
|
|
RUN git config --global --add safe.directory "*" && \
|
|
SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" && \
|
|
echo "$SNIPPET" >> "/root/.bashrc"
|