From f43d0515ed79bdb00c00cfe6fa15a3c80bf917c6 Mon Sep 17 00:00:00 2001 From: David Kircos Date: Mon, 4 Nov 2024 11:46:07 -0700 Subject: [PATCH 1/2] echo versions --- quadratic-client/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quadratic-client/Dockerfile b/quadratic-client/Dockerfile index 802106032f..dc18458c03 100644 --- a/quadratic-client/Dockerfile +++ b/quadratic-client/Dockerfile @@ -7,6 +7,8 @@ ENV PATH="/root/.cargo/bin:${PATH}" # Install wasm-pack RUN echo 'Installing wasm-pack...' && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh +RUN echo 'wasm-pack version:' && wasm-pack --version +RUN echo 'wasm-opt version:' && wasm-opt --version # Install wasm32-unknown-unknown target # RUN rustup target add wasm32-unknown-unknown From 249e0c92aa35589d78c284f7524def927ec85c42 Mon Sep 17 00:00:00 2001 From: David Kircos Date: Mon, 4 Nov 2024 11:56:37 -0700 Subject: [PATCH 2/2] try --- quadratic-client/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/quadratic-client/Dockerfile b/quadratic-client/Dockerfile index dc18458c03..e814a28455 100644 --- a/quadratic-client/Dockerfile +++ b/quadratic-client/Dockerfile @@ -8,13 +8,12 @@ ENV PATH="/root/.cargo/bin:${PATH}" # Install wasm-pack RUN echo 'Installing wasm-pack...' && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh RUN echo 'wasm-pack version:' && wasm-pack --version -RUN echo 'wasm-opt version:' && wasm-opt --version # Install wasm32-unknown-unknown target # RUN rustup target add wasm32-unknown-unknown -# Install python, binaryen & clean up -RUN apt-get update && apt-get install -y python-is-python3 python3-pip binaryen && apt-get clean && rm -rf /var/lib/apt/lists/* +# Install python & clean up +RUN apt-get update && apt-get install -y python-is-python3 python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/* # Install npm dependencies WORKDIR /app