Real Update to compose file, fixed line endings issue

This commit is contained in:
Aaron Hance 2021-06-20 21:06:25 +01:00
parent 29f9a7396a
commit 9986bb877c

View File

@ -4,7 +4,7 @@ VOLUME ["/code"]
RUN dpkg --add-architecture i386 && \ RUN dpkg --add-architecture i386 && \
apt-get update apt-get update
RUN apt-get install nasm curl make:i386 binutils:i386 xorriso grub-pc-bin -y RUN apt-get install nasm curl make:i386 binutils:i386 xorriso grub-pc-bin dos2unix -y
RUN apt-get clean RUN apt-get clean
RUN curl https://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.i386-linux.tar/download --output fpc.tar -L && \ RUN curl https://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.i386-linux.tar/download --output fpc.tar -L && \
tar -xf fpc.tar tar -xf fpc.tar
@ -15,4 +15,5 @@ RUN ./install.sh
COPY compile.sh /compile.sh COPY compile.sh /compile.sh
RUN mkdir /code RUN mkdir /code
WORKDIR /code WORKDIR /code
ENTRYPOINT ["/compile.sh"] RUN find . -type f -print0 | xargs -0 dos2unix
ENTRYPOINT ["/bin/bash", "/compile.sh"]