Last active
September 14, 2017 19:03
-
-
Save pepyakin/e1767344747af85cee161a7615c586fb to your computer and use it in GitHub Desktop.
Dockerfile for building and checking binaryen. Can be useful on macOS. See https://github.com/WebAssembly/binaryen/pull/1184#issuecomment-329430966
This file contains hidden or 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:trusty | |
RUN \ | |
apt-get update && \ | |
apt-get install -y build-essential cmake python curl | |
# Add source for nodejs, | |
# see https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions | |
RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
RUN apt-get install nodejs | |
COPY . /test | |
WORKDIR /test | |
RUN ./check.py --only-prepare | |
RUN rm CMakeCache.txt | |
RUN cmake . | |
RUN make -j2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just leave it here for googleability: