Added containerized build environment

This commit is contained in:
Fredrik Rambris 2018-09-14 10:50:33 +02:00
parent a257987293
commit 7e988a154e
1 changed files with 9 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM centos:7 as builder
RUN yum install -y gcc gcc-c++ python git perl-Pod-Simple gperf patch autoconf automake make makedepend bison flex ncurses-devel gmp-devel mpfr-devel libmpc-devel gettext-devel texinfo wget
# LhA was missing in some of the steps
RUN yum install -y http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/x86_64/rpmforge/RPMS/lha-1.14i-19.2.2.el6.rf.x86_64.rpm
RUN git clone https://github.com/bebbo/amiga-gcc && cd amiga-gcc && make update && make all
FROM centos:7
RUN yum install -y make git
COPY --from=builder /opt/amiga /opt/amiga