1
0
mirror of https://github.com/sebastianbergmann/docker-amiga-gcc.git synced 2025-11-19 07:50:09 +00:00
Files
docker-amiga-gcc-vamos/Containerfile
Sebastian Bergmann d0c9a39a19 Use Ubuntu 22.10
2022-10-30 17:52:40 +01:00

56 lines
995 B
Docker

FROM ubuntu:22.10
RUN export DEBIAN_FRONTEND=noninteractive && \
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/* && \
git config --global pull.rebase false && \
cd /root && \
git clone --depth 1 https://github.com/bebbo/amiga-gcc.git && \
cd /root/amiga-gcc && \
mkdir -p /opt/amiga && \
make update && \
make -j4 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