This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bdfe9d2
commit d8a1c16
Showing
1 changed file
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
FROM ubuntu:14.04 | ||
FROM ubuntu:24.04 | ||
|
||
MAINTAINER Mathias Lafeldt <[email protected]> | ||
|
||
ENV TOOLCHAIN_VERSION 78cea97c5a1464db965f205d3ec07a5ad649c88a | ||
ENV TOOLCHAIN_VERSION 0359891a9e65785a12fab0b0f9479d81f0d146b0 | ||
|
||
ENV PS3DEV /ps3dev | ||
ENV PSL1GHT $PS3DEV | ||
ENV PATH $PATH:$PS3DEV/bin:$PS3DEV/ppu/bin:$PS3DEV/spu/bin | ||
ENV PATH $PATH:$PS3DEV/bin:$PS3DEV/ppu/bin:$PS3DEV/spu/bin:${PS3DEV}/portlibs/ppu/bin | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
COPY toolchain-docker.sh / | ||
|
||
RUN apt-get update \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get install -y \ | ||
RUN apt update \ | ||
&& apt upgrade -y \ | ||
&& apt install -y \ | ||
autoconf \ | ||
automake \ | ||
bison \ | ||
bzip2 \ | ||
ca-certificates \ | ||
flex \ | ||
g++ \ | ||
gcc \ | ||
|
@@ -28,17 +29,24 @@ RUN apt-get update \ | |
libncurses5-dev \ | ||
libssl-dev \ | ||
libtool \ | ||
libtool-bin \ | ||
make \ | ||
patch \ | ||
pkg-config \ | ||
python-dev \ | ||
python-dev-is-python3 \ | ||
texinfo \ | ||
vim \ | ||
wget \ | ||
zlib1g-dev \ | ||
xz-utils \ | ||
zlib1g-dev | ||
|
||
# Fixes certificate errors with letsencrypt in ARMv7 | ||
RUN echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> /etc/wgetrc \ | ||
&& echo "check_certificate = off" >> ~/.wgetrc | ||
|
||
# pass toolchain's check for gmp | ||
&& ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h \ | ||
&& git clone git://github.com/ps3dev/ps3toolchain.git /toolchain \ | ||
RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h \ | ||
&& git clone https://github.com/ps3dev/ps3toolchain.git /toolchain \ | ||
&& cd /toolchain \ | ||
&& git checkout -qf $TOOLCHAIN_VERSION \ | ||
&& /toolchain-docker.sh \ | ||
|