Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Upgrading to ubuntu 24.04 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
humbertodias committed Feb 17, 2024
1 parent bdfe9d2 commit d8a1c16
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions Dockerfile
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 \
Expand All @@ -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 \
Expand Down

0 comments on commit d8a1c16

Please sign in to comment.