Files
mm/Dockerfile
T
Zeri 2d43d21e86 Fixed Dockerfile. (#1882)
* Fixed Dockerfile.

Dockerfile updated per the file on https://practicerom.com/public/packages/debian/howto.txt
and Debian/Ubuntu's apt-key command being deprecated.

* Update dockerfile as per new download instructions.

* Modify Dockerfile.

* Remove sudo from Dockerfile.
2026-08-30 09:18:55 -04:00

42 lines
1.0 KiB
Docker

FROM ubuntu:24.04 AS build
ENV TZ=UTC
ENV LANG=C.UTF-8
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Add source from practicerom-dev install
# PracticeRom installation instructions: https://github.com/PracticeROM/packages
RUN apt-get update && apt-get install -y curl && \
curl -O https://practicerom.com/public/packages/debian/dists/stable/practicerom-repository_latest_$(dpkg --print-architecture).deb && \
dpkg -i practicerom-repository_latest_$(dpkg --print-architecture).deb
# Install Required Dependencies
RUN apt-get update && apt-get install -y \
build-essential \
binutils-mips-linux-gnu \
gcc-mips-linux-gnu \
pkg-config \
python3 \
python3-pip \
python3-venv \
git \
wget \
unzip \
vbindiff \
vim \
clang-tidy-14 \
clang-format-14 \
libpng-dev \
practicerom-dev
# Post dependencies cleanup
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /mm
RUN git config --global --add safe.directory /mm
ENTRYPOINT ["/usr/bin/env", "bash", "-c"]