Skip to content

Commit

Permalink
Update to latest stable pyodide
Browse files Browse the repository at this point in the history
  • Loading branch information
txus committed Apr 22, 2021
1 parent 4c8d6c7 commit 7b43cd5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ADD voting_schemes/electionguard/python-wrapper /code/voting_schemes/electiongua
RUN cd /code && make build_electionguard_python_wrapper

# This stage builds the pyodide packages for the previous python packages
FROM codegram/electionguard-pyodide-base-packages:0.0.2 as python-to-js-builder
FROM codegram/electionguard-pyodide-base-packages:0.0.3 as python-to-js-builder
LABEL author="[email protected]"

ENV PYODIDE_PACKAGES "electionguard,bulletin_board-electionguard"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.web
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ADD voting_schemes/electionguard/python-wrapper /code/voting_schemes/electiongua
RUN cd /code && make build_electionguard_python_wrapper

# This stage builds the pyodide packages for the previous python packages
FROM codegram/electionguard-pyodide-base-packages:0.0.2 as python-to-js-builder
FROM codegram/electionguard-pyodide-base-packages:0.0.3 as python-to-js-builder
LABEL author="[email protected]"

ENV PYODIDE_PACKAGES "electionguard,bulletin_board-electionguard"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM iodide/pyodide:0.17.0a2
FROM codegram/pyodide:latest
LABEL author="[email protected]"

ENV PYODIDE_PACKAGES "pyasn1,libgmp,gmpy2,micropip,attrs,sortedcontainers,hypothesis,jsons,typish,rsa"
Expand Down
2 changes: 1 addition & 1 deletion voting_schemes/electionguard/python-to-js/build
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rm -rf $SHARED_FOLDER/electionguard/*
cp -rf .. $SHARED_FOLDER/electionguard/

# Build packages with Pyodide
docker run --rm --mount type=bind,source=$HOST_SHARED_FOLDER/electionguard,target=/electionguard -e PYODIDE_PACKAGES="electionguard,bulletin_board-electionguard" -it codegram/electionguard-pyodide-base-packages:0.0.2 /electionguard/python-to-js/build-pyodide
docker run --rm --mount type=bind,source=$HOST_SHARED_FOLDER/electionguard,target=/electionguard -e PYODIDE_PACKAGES="electionguard,bulletin_board-electionguard" -it codegram/electionguard-pyodide-base-packages:0.0.3 /electionguard/python-to-js/build-pyodide

# Move generated files to the vendor folder of the js-adapter
cp -rf $SHARED_FOLDER/electionguard/python-to-js/output/* ../ruby-adapter/public/assets/electionguard/
Expand Down

0 comments on commit 7b43cd5

Please sign in to comment.