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.
This commit is contained in:
Zeri
2026-08-30 08:18:55 -05:00
committed by GitHub
parent 794ae59315
commit 2d43d21e86
+5 -3
View File
@@ -5,10 +5,12 @@ ENV LANG=C.UTF-8
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Add source for practicerom-dev install
# 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 /usr/share/keyrings/practicerom-archive-keyring.gpg https://practicerom.com/public/packages/debian/practicerom-archive-keyring.gpg && \
echo 'deb [arch=all,amd64 signed-by=/usr/share/keyrings/practicerom-archive-keyring.gpg] http://practicerom.com/public/packages/debian unstable main' > /etc/apt/sources.list.d/practicerom.list
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 \