Skip to content

Commit

Permalink
UNTESTED io: update Docker, build the compiler and addons from source
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Oct 13, 2024
1 parent 2a2cedb commit 37b358a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions impls/io/Dockerfile
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]>

##########################################################
Expand All @@ -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
Expand All @@ -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

0 comments on commit 37b358a

Please sign in to comment.