This repository was 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
Expand file tree
/
Copy pathDockerfile
More file actions
55 lines (46 loc) · 1.35 KB
/
Copy pathDockerfile
File metadata and controls
55 lines (46 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
FROM ubuntu:24.04
MAINTAINER Mathias Lafeldt <mathias.lafeldt@gmail.com>
ENV TOOLCHAIN_VERSION 0359891a9e65785a12fab0b0f9479d81f0d146b0
ENV PS3DEV /ps3dev
ENV PSL1GHT $PS3DEV
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 update \
&& apt upgrade -y \
&& apt install -y \
autoconf \
automake \
bison \
bzip2 \
ca-certificates \
flex \
g++ \
gcc \
git \
libelf-dev \
libgmp3-dev \
libncurses5-dev \
libssl-dev \
libtool \
libtool-bin \
make \
patch \
pkg-config \
python-dev-is-python3 \
texinfo \
vim \
wget \
xz-utils \
zlib1g-dev \
# Fixes certificate errors with letsencrypt in ARMv7 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 https://github.com/ps3dev/ps3toolchain.git /toolchain \
&& cd /toolchain \
&& git checkout -qf $TOOLCHAIN_VERSION \
&& /toolchain-docker.sh \
&& rm -rf /toolchain* /var/lib/apt/lists/*
WORKDIR /src
CMD ["/bin/bash"]