Added lots of stuff
Added stuff to vfs + Dockerized the compilation & added some vscode cfg.
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
VOLUME ["/code"]
|
||||
|
||||
RUN dpkg --add-architecture i386 && \
|
||||
apt-get update
|
||||
RUN apt-get install nasm curl make:i386 binutils:i386 xorriso grub-pc-bin -y
|
||||
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 && \
|
||||
tar -xf fpc.tar
|
||||
|
||||
WORKDIR ./fpc-2.6.4.i386-linux
|
||||
RUN ./install.sh
|
||||
|
||||
COPY compile.sh /compile.sh
|
||||
RUN mkdir /code
|
||||
WORKDIR /code
|
||||
ENTRYPOINT ["/compile.sh"]
|
Reference in New Issue
Block a user