Skip to content

Commit

Permalink
Updated build instructions for Debian 11
Browse files Browse the repository at this point in the history
  • Loading branch information
zeldin committed Aug 3, 2024
1 parent 82da6e3 commit f8e8abc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ubuntu:xenial
# FROM ubuntu:xenial
FROM debian:12-slim
LABEL maintainer="[email protected]"

ENV PS3DEV /usr/local/ps3dev
Expand All @@ -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}/
Expand All @@ -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

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit f8e8abc

Please sign in to comment.