forked from sba1/adtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
70 lines (60 loc) · 1.38 KB
/
Dockerfile
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
FROM amigadev/docker-base:latest as build-env
WORKDIR /work
COPY ./ /work/
ENV PATH /opt/ppc-amigaos/bin:$PATH
#gild/bin/gild-clone && \
RUN gild/bin/gild-checkout binutils 2.23.2 && \
gild/bin/gild-checkout gcc 11 && \
make -C native-build gcc-cross CROSS_PREFIX=/opt/ppc-amigaos -j$(nproc)
RUN rm -rf /work/*
FROM amigadev/docker-base:latest
COPY --from=build-env /opt/ppc-amigaos /opt/ppc-amigaos
ENV PATH /opt/ppc-amigaos/bin:$PATH
RUN apt purge -y python-pip \
genisoimage \
rsync \
wget \
curl \
git \
make \
automake \
nano \
autoconf \
pkg-config \
unzip \
gawk \
bison \
flex\
netpbm \
cmake \
gperf \
gettext \
texinfo\
python \
python-mako \
g++ \
gcc \
gcc-multilib \
g++-multilib \
libtool \
zlib1g-dev \
zlib1g \
libpng-dev \
libx11-dev \
libxcursor-dev \
libgl1-mesa-dev \
libgmpxx4ldbl \
libgmp-dev \
libmpfr6 \
libmpfr-dev \
libmpc3 \
libmpc-dev \
libncurses-dev \
libswitch-perl \
libasound2-dev \
libc6:i386 \
libstdc++6:i386 \
libsdl1.2-dev ; \
apt autoremove -y ; \
rm -rf /var/lib/apt/lists/* ; \
apt clean