Skip to content

Instantly share code, notes, and snippets.

@ebraminio
Last active November 8, 2018 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebraminio/8551fc74f27951e668102baa2f6b1175 to your computer and use it in GitHub Desktop.
Save ebraminio/8551fc74f27951e668102baa2f6b1175 to your computer and use it in GitHub Desktop.
FROM ubuntu:trusty
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential bison flex curl gcc g++ make texinfo zlib1g-dev g++ unzip curl git
WORKDIR /root
RUN git clone https://github.com/andrewwutw/build-djgpp.git
WORKDIR /root/build-djgpp
RUN ./build-djgpp.sh 7.2.0
VOLUME /root/src
WORKDIR /root/src
ENV PATH /usr/local/djgpp/i586-pc-msdosdjgpp/bin/:$PATH
ENV GCC_EXEC_PREFIX /usr/local/djgpp/lib/gcc/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment