mirror of
https://github.com/codedread/bitjs
synced 2025-10-04 01:59:15 +02:00
21 lines
527 B
Docker
21 lines
527 B
Docker
FROM ubuntu:18.04
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
cmake \
|
|
git-core \
|
|
python \
|
|
wget
|
|
|
|
RUN git clone https://github.com/webmproject/libwebp
|
|
|
|
RUN git clone https://github.com/emscripten-core/emsdk.git && \
|
|
cd emsdk && \
|
|
./emsdk install latest && \
|
|
./emsdk activate latest
|
|
|
|
RUN git clone https://github.com/nothings/stb.git
|
|
|
|
# TODO: Figure out how to invoke emsdk/emsdk_env.sh and have it affect PATH.
|
|
ENV PATH="$PATH:/emsdk:/emsdk/node/12.9.1_64bit/bin:/emsdk/upstream/emscripten"
|
|
|
|
COPY . .
|