Created
July 9, 2019 09:06
-
-
Save Yamakaky/5d243ecf88c0c9ee1f71c6b4e202e835 to your computer and use it in GitHub Desktop.
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
from ocaml/opam2:alpine-3.10 as builder | |
copy deps deps | |
run sed -i '/#/d' deps | |
run wget http://downloads.sourceforge.net/liblo/liblo-0.30.tar.gz && \ | |
tar xf liblo* && \ | |
cd liblo-0.30 && \ | |
./configure && \ | |
make && \ | |
sudo make install && \ | |
mkdir -p /home/opam/ls/lib/ && \ | |
cp /usr/local/lib/liblo* /home/opam/ls/lib/ && \ | |
cd .. && \ | |
rm -rf liblo* | |
run opam pin -n https://github.com/Yamakaky/ocaml-mm.git#patch-1 && \ | |
opam pin -n https://github.com/Yamakaky/ocaml-lo.git#patch-1 && \ | |
opam pin -n https://github.com/savonet/liquidsoap.git#1.4.0-beta2 && \ | |
sudo apk add --no-cache automake autoconf && \ | |
opam depext $(cat deps) && \ | |
opam install --destdir=/home/opam/ls $(cat deps) && \ | |
opam depext -ln $(cat deps) > /home/opam/depexts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment