Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dockerfiles to support emsdk #4772

Merged
merged 3 commits into from
Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dockers/release-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ RUN apt-get update -qqy && apt-get install -qqy \
lsb-release \
openssh-client \
git \
gnupg && \
gnupg \
file && \
pip3 install -U crcmod && \
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \
echo "deb https://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" > /etc/apt/sources.list.d/google-cloud-sdk.list && \
Expand All @@ -38,3 +39,6 @@ RUN npm install -g yarn

# Install virtualenv
RUN pip3 install virtualenv

# Install absl
RUN pip3 install absl-py
15 changes: 12 additions & 3 deletions dockers/wasm-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Official emsdk docker: https://hub.docker.com/r/emscripten/emsdk
FROM emscripten/emsdk:2.0.14
FROM emscripten/emsdk:2.0.14

# Install yarn
RUN npm install -g yarn
# Install yarn
RUN npm install -g yarn

RUN apt-get update -qqy && apt-get install -qqy \
gcc \
python3 \
python3-pip \
file

# Install absl
RUN pip3 install -U absl-py