1
0
mirror of https://github.com/bebbo/amiga-gcc.git synced 2025-11-19 16:51:46 +00:00

refs #291: updated Dockerfile

This commit is contained in:
bebbo
2022-07-09 20:24:03 +02:00
parent b9ed9db219
commit f562562ffd

View File

@ -8,12 +8,12 @@ RUN echo deb http://deb.debian.org/debian/ buster main >/etc/apt/sources.list &&
echo deb-src http://deb.debian.org/debian/ buster-updates main >>/etc/apt/sources.list
RUN apt-get -y update &&\
apt-get -y install make wget git gcc g++ lhasa libgmp-dev libmpfr-dev libmpc-dev flex bison gettext texinfo ncurses-dev autoconf rsync git lhasa
apt-get -y install make wget git gcc g++ libgmp-dev libmpfr-dev libmpc-dev flex bison gettext texinfo ncurses-dev autoconf rsync
RUN git clone https://github.com/bebbo/amiga-gcc &&\
cd amiga-gcc &&\
make update &&\
make all -j
make update -j &&\
make all all-sdk -j8
@ -23,4 +23,9 @@ COPY --from=builder /opt/amiga /opt/amiga
RUN echo deb http://deb.debian.org/debian/ buster main >/etc/apt/sources.list &&\
apt-get -y update &&\
apt-get -y install make git
apt-get -y install make git libmpc3 libmpfr6 libgmp10
RUN chmod o+r -R /opt/amiga &&\
useradd -m -s /bin/bash test &&\
echo 'export PATH=$PATH:/opt/amiga/bin' >> /home/test/.bashrc