This reverts commit b4de632f3f.
This caused the ec2 mozilla builders to fail due to bundling lkgr.json. Reverting til we figure it out.
22 lines
716 B
Docker
22 lines
716 B
Docker
# For travis
|
|
FROM buildpack-deps:xenial
|
|
SHELL ["/bin/bash", "-c"]
|
|
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8
|
|
RUN mkdir -p /root/emsdk/
|
|
COPY . /root/emsdk/
|
|
|
|
RUN cd /root/ \
|
|
&& echo "int main() {}" > hello_world.cpp \
|
|
&& apt-get update \
|
|
&& apt-get install -y python cmake build-essential openjdk-9-jre-headless \
|
|
&& /root/emsdk/emsdk install latest \
|
|
&& /root/emsdk/emsdk activate latest \
|
|
&& source /root/emsdk/emsdk_env.sh --build=Release \
|
|
&& emcc hello_world.cpp \
|
|
&& /root/emsdk/emsdk update-tags \
|
|
&& /root/emsdk/emsdk install latest-upstream \
|
|
&& /root/emsdk/emsdk activate latest-upstream \
|
|
&& source /root/emsdk/emsdk_env.sh --build=Release \
|
|
&& emcc hello_world.cpp -s WASM_OBJECT_FILES=1
|
|
|