-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerFile
More file actions
35 lines (28 loc) · 934 Bytes
/
DockerFile
File metadata and controls
35 lines (28 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# OpenFrameworks to build WebAssembly whil editing in Windows
#
# VERSION 0.1.0
FROM ubuntu
LABEL Description="This image is used try building OF webassembly app while editing in Windows" Vendor="Constant Dupuis" Version="1.0"
# Update & Upgrade Ubuntu
# comment upgrade if you want a faster image build
RUN apt-get -y update
RUN apt-get -y upgrade
# Install dev tools MANDATORY
RUN apt install -y build-essential git cmake python wget
# Create folders and unpack OpenFrameworks
WORKDIR /home
RUN mkdir dev
WORKDIR /home/dev
RUN mkdir OF
WORKDIR OF
COPY of_v0.11.0_linux64gcc6_release.tar.gz .
RUN tar xzvf of_v0.11.0_linux64gcc6_release.tar.gz
RUN rm of_v0.11.0_linux64gcc6_release.tar.gz
RUN mkdir apps
# Install Emscript
WORKDIR /home/dev
RUN git clone https://github.com/emscripten-core/emsdk
WORKDIR emsdk
RUN ./emsdk install 1.39.4-fastcomp
RUN ./emsdk activate 1.39.4-fastcomp
#RUN source ./emsdk_env.sh