mirror of
https://github.com/sebastianbergmann/docker-amiga-gcc.git
synced 2025-12-06 02:40:20 +00:00
54 lines
948 B
Docker
54 lines
948 B
Docker
FROM ubuntu:19.04
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
autoconf \
|
|
bison \
|
|
flex \
|
|
g++ \
|
|
gcc \
|
|
gettext \
|
|
git \
|
|
lhasa \
|
|
libgmpxx4ldbl \
|
|
libgmp-dev \
|
|
libmpfr6 \
|
|
libmpfr-dev \
|
|
libmpc3 \
|
|
libmpc-dev \
|
|
libncurses-dev \
|
|
make \
|
|
rsync \
|
|
texinfo\
|
|
wget \
|
|
&& rm -rf /var/lib/apt/lists/* && \
|
|
cd /root && \
|
|
git clone https://github.com/bebbo/amiga-gcc.git && \
|
|
cd /root/amiga-gcc && \
|
|
git checkout -qf f0daf8f4df6077af11a7a33c379aad32a1c57222 && \
|
|
mkdir -p /opt/amiga && \
|
|
make update && \
|
|
make all && \
|
|
cd / && \
|
|
rm -rf /root/amiga-gcc && \
|
|
apt-get purge -y \
|
|
autoconf \
|
|
bison \
|
|
flex \
|
|
g++ \
|
|
gcc \
|
|
gettext \
|
|
git \
|
|
lhasa \
|
|
libgmp-dev \
|
|
libmpfr-dev \
|
|
libmpc-dev \
|
|
libncurses-dev \
|
|
make \
|
|
rsync \
|
|
texinfo\
|
|
wget \
|
|
&& apt-get -y autoremove
|
|
|
|
ENV PATH /opt/amiga/bin:$PATH
|
|
|