karlos-toolchain/Dockerfile

8 lines
393 B
Docker

FROM debian:oldoldstable-slim
WORKDIR /build
COPY . .
RUN apt-get update
RUN apt-get install -y patch gcc g++ binutils make libgmp-dev libmpfr-dev libmpc-dev
ADD https://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-11.2.0/gcc-11.2.0.tar.gz gcc-11.2.0.tar.gz
ADD https://ftp.fu-berlin.de/unix/gnu/binutils/binutils-2.37.tar.gz binutils-2.37.tar.gz
CMD [ "sh", "-c", "./make-toolchain.sh" ]