forked from kanaka/mal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UNTESTED io: update Docker, build the compiler and addons from source
- Loading branch information
1 parent
2a2cedb
commit 37b358a
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:xenial | ||
FROM ubuntu:24.04 | ||
MAINTAINER Joel Martin <[email protected]> | ||
|
||
########################################################## | ||
|
@@ -9,10 +9,8 @@ MAINTAINER Joel Martin <[email protected]> | |
RUN apt-get -y update | ||
|
||
# Required for running tests | ||
RUN apt-get -y install make python | ||
|
||
# Some typical implementation and test requirements | ||
RUN apt-get -y install curl libreadline-dev libedit-dev | ||
RUN apt-get -y install make python3 | ||
RUN ln -fs /usr/bin/python3 /usr/local/bin/python | ||
|
||
RUN mkdir -p /mal | ||
WORKDIR /mal | ||
|
@@ -21,13 +19,15 @@ WORKDIR /mal | |
# Specific implementation requirements | ||
########################################################## | ||
|
||
# Zip | ||
RUN apt-get -y install unzip | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
cmake g++ git pkg-config libmarkdown2-dev | ||
|
||
RUN cd /tmp && curl -O -J -L http://iobin.suspended-chord.info/linux/iobin-linux-x64-deb-current.zip \ | ||
&& unzip iobin-linux-x64-deb-current.zip IoLanguage-2013.11.04-Linux-x64.deb \ | ||
&& dpkg -i IoLanguage-2013.11.04-Linux-x64.deb \ | ||
&& ldconfig \ | ||
&& rm -f iobin-linux-x64-deb-current.zip IoLanguage-2013.11.04-Linux-x64.deb | ||
RUN git clone --recursive https://github.com/IoLanguage/io.git /mal/io | ||
RUN mkdir /mal/io/build | ||
RUN cd /mal/io/build/ \ | ||
&& cmake .. -DCMAKE_BUILD_TYPE=release \ | ||
&& make \ | ||
&& make install \ | ||
&& PATH="$PATH:_build/binaries/" ./install_unix.sh | ||
|
||
ENV HOME /mal |