From f8e8abc8f777362f061089d2c45acf716e013847 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 3 Aug 2024 11:10:44 +0200 Subject: [PATCH] Updated build instructions for Debian 11 --- Dockerfile | 9 +++++---- README.md | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4052d3d62..1676330da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM ubuntu:xenial +# FROM ubuntu:xenial +FROM debian:12-slim LABEL maintainer="miigotu@gmail.com" ENV PS3DEV /usr/local/ps3dev @@ -11,7 +12,7 @@ RUN \ apt-get -y update && \ apt-get -y install \ autoconf bison build-essential ca-certificates flex git libelf-dev\ - libgmp-dev libncurses5-dev libssl-dev libtool-bin pkg-config python-dev \ + libgmp-dev libncurses5-dev libssl-dev libtool-bin pkg-config python-dev-is-python3 \ texinfo wget zlib1g-dev && \ apt-get -y clean autoclean autoremove && \ rm -rf /var/lib/{apt,dpkg,cache,log}/ @@ -21,6 +22,6 @@ WORKDIR /build COPY . /build # Fixes certificate errors with letsencrypt in ARMv7 -RUN echo "\nca_certificate=/etc/ssl/certs/ca-certificates.crt" | tee -a /etc/wgetrc -RUN /build/toolchain.sh +# RUN echo "\nca_certificate=/etc/ssl/certs/ca-certificates.crt" | tee -a /etc/wgetrc +# RUN /build/toolchain.sh diff --git a/README.md b/README.md index 3169ef753..47df06381 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ For Debian based distros: libtool libtool-bin python-dev bzip2 libgmp3-dev pkg-config g++ libssl-dev clang ``` -For Debian 12: +For Debian 11 and 12: > Install `python-is-python3` and `python-dev-is-python3` instead of `python` and `python-dev`.