mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 19:18:30 +02:00
🎉 Switch new renderer to Emscripten (from wasm-bindgen)
This commit is contained in:
parent
283ea16627
commit
e4eb80f643
16 changed files with 10374 additions and 456 deletions
|
@ -9,7 +9,7 @@ ENV NODE_VERSION=v20.11.1 \
|
|||
BABASHKA_VERSION=1.3.189 \
|
||||
CLJFMT_VERSION=0.12.0 \
|
||||
RUSTUP_VERSION=1.27.1 \
|
||||
RUST_VERSION=1.81.0 \
|
||||
RUST_VERSION=1.82.0 \
|
||||
LANG=en_US.UTF-8 \
|
||||
LC_ALL=en_US.UTF-8
|
||||
|
||||
|
@ -265,6 +265,16 @@ RUN set -eux; \
|
|||
rm rustup-init; \
|
||||
chmod -R a+w $RUSTUP_HOME $CARGO_HOME;
|
||||
|
||||
WORKDIR /usr/local
|
||||
|
||||
# Install emscripten SDK and activate it
|
||||
RUN set -eux; \
|
||||
git clone https://github.com/emscripten-core/emsdk.git; \
|
||||
cd emsdk; \
|
||||
./emsdk install latest; \
|
||||
./emsdk activate latest; \
|
||||
rustup target add wasm32-unknown-emscripten;
|
||||
|
||||
WORKDIR /home
|
||||
|
||||
COPY files/nginx.conf /etc/nginx/nginx.conf
|
||||
|
|
|
@ -11,6 +11,8 @@ alias lsf='ls -h *(.)'
|
|||
|
||||
# init Cargo / Rust env
|
||||
. "/usr/local/cargo/env"
|
||||
# init emscripten
|
||||
EMSDK_QUIET=1 . "/usr/local/emsdk/emsdk_env.sh"
|
||||
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc.local" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue