Skip to content

Commit f8e8abc

Browse files
committed
Updated build instructions for Debian 11
1 parent 82da6e3 commit f8e8abc

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎Dockerfile‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ubuntu:xenial
1+
# FROM ubuntu:xenial
2+
FROM debian:12-slim
23
LABEL maintainer="miigotu@gmail.com"
34

45
ENV PS3DEV /usr/local/ps3dev
@@ -11,7 +12,7 @@ RUN \
1112
apt-get -y update && \
1213
apt-get -y install \
1314
autoconf bison build-essential ca-certificates flex git libelf-dev\
14-
libgmp-dev libncurses5-dev libssl-dev libtool-bin pkg-config python-dev \
15+
libgmp-dev libncurses5-dev libssl-dev libtool-bin pkg-config python-dev-is-python3 \
1516
texinfo wget zlib1g-dev && \
1617
apt-get -y clean autoclean autoremove && \
1718
rm -rf /var/lib/{apt,dpkg,cache,log}/
@@ -21,6 +22,6 @@ WORKDIR /build
2122
COPY . /build
2223

2324
# Fixes certificate errors with letsencrypt in ARMv7
24-
RUN echo "\nca_certificate=/etc/ssl/certs/ca-certificates.crt" | tee -a /etc/wgetrc
25-
RUN /build/toolchain.sh
25+
# RUN echo "\nca_certificate=/etc/ssl/certs/ca-certificates.crt" | tee -a /etc/wgetrc
26+
# RUN /build/toolchain.sh
2627

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For Debian based distros:
2626
libtool libtool-bin python-dev bzip2 libgmp3-dev pkg-config g++ libssl-dev clang
2727
```
2828

29-
For Debian 12:
29+
For Debian 11 and 12:
3030

3131
> Install `python-is-python3` and `python-dev-is-python3` instead of
3232
`python` and `python-dev`.

0 commit comments

Comments
 (0)