Unverified Commit 69709ab9 authored by Alexey Tsvetkov's avatar Alexey Tsvetkov Committed by GitHub

Add docker image with emscripten (#372)

parent 79e5d248
FROM ubuntu:focal-20211006
SHELL ["/bin/bash", "-c", "-l"]
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && \
apt-get install binutils build-essential software-properties-common -y && \
apt-get install git curl wget -y && \
apt-get install python -y && \
apt-get install openjdk-11-jdk -y
RUN export EMSDK_DIR=/usr/emsdk && \
export EMSDK_VER=2.0.29 && \
git clone https://github.com/emscripten-core/emsdk.git $EMSDK_DIR && \
$EMSDK_DIR/emsdk install $EMSDK_VER && \
$EMSDK_DIR/emsdk activate $EMSDK_VER && \
echo "source $EMSDK_DIR/emsdk_env.sh" >> ~/.bashrc
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
ENV JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF
docker build -t skiko-build-emscripten-ubuntu-2004-amd64:latest .
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment