Last active
August 29, 2015 14:10
-
-
Save ybootin/8722fd1679d0d8cbf66c to your computer and use it in GitHub Desktop.
dockerfile for haxe 2.10
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 ubuntu:12.04 | |
MAINTAINER Yohan Boutin <yohan.boutin@teads.tv> | |
RUN apt-get update | |
RUN apt-get -y upgrade | |
ENV HAXE_LIBRARY_PATH /usr/lib/haxe/std | |
ENV HAXEPATH /usr/bin/haxe | |
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install haxe git ocaml make libz-dev gcc libgc-dev zlibc zlib-bin | |
# build haxe 2 from source | |
RUN git clone -b v2-10-fix --recursive https://github.com/HaxeFoundation/haxe.git && cd haxe && make | |
RUN \ | |
cd /haxe && \ | |
rm -f $HAXEPATH && \ | |
cp haxe $HAXEPATH && \ | |
rm -rf /usr/lib/haxe && \ | |
mkdir /usr/lib/haxe && \ | |
cp -r std /usr/lib/haxe && \ | |
mkdir /usr/lib/haxe/lib && \ | |
chmod 777 /usr/lib/haxe/lib && \ | |
cp haxelib /usr/bin/haxelib && \ | |
chmod +x /usr/bin/haxelib | |
CMD haxe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i got an error building this
here is the relevant lines of code
and here is the whole build log http://pastebin.com/YSYNv4z6