Created
August 17, 2017 03:25
-
-
Save xxuejie/5f77dd5bd81286adbdd6c4aa1d3445b8 to your computer and use it in GitHub Desktop.
Dockerfile for reproducing crystal build failure
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:xenial | |
RUN apt-get update | |
RUN apt-get install \ | |
libbsd-dev \ | |
libedit-dev \ | |
libevent-core-2.0-5 \ | |
libevent-dev \ | |
libevent-extra-2.0-5 \ | |
libevent-openssl-2.0-5 \ | |
libevent-pthreads-2.0-5 \ | |
libgmp-dev \ | |
libgmpxx4ldbl \ | |
libssl-dev \ | |
libxml2-dev \ | |
libyaml-dev \ | |
libreadline-dev \ | |
automake \ | |
libtool \ | |
git \ | |
llvm \ | |
libpcre3-dev \ | |
build-essential -y | |
RUN apt-get install -y curl apt-transport-https | |
RUN curl https://dist.crystal-lang.org/apt/setup.sh | bash | |
RUN apt-get install -y crystal | |
RUN apt-get install -y pkg-config | |
RUN git clone https://github.com/ivmai/bdwgc.git /bdwgc | |
RUN git clone https://github.com/ivmai/libatomic_ops.git /bdwgc/libatomic_ops | |
RUN cd /bdwgc && autoreconf -vif && automake --add-missing && ./configure && make && make check && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment