-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
298 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.1 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" | ||
|
@@ -86,4 +86,4 @@ RUN npm install --global yarn | |
RUN bundle exec rake assets:precompile | ||
|
||
# Migrate and seed database | ||
CMD ["bundle", "exec", "rake", "db:migrate"] | ||
CMD ["bundle", "exec", "rake", "db:migrate"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.1 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" | ||
|
@@ -87,4 +87,4 @@ RUN bundle exec rake assets:precompile | |
|
||
# Run the entrypoint script | ||
COPY ./docker-entrypoint.sh / | ||
ENTRYPOINT ["/docker-entrypoint.sh"] | ||
ENTRYPOINT ["/docker-entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,4 @@ | |
</div> | ||
</section> | ||
|
||
<%= javascript_include_tag "sandbox/tally" %> | ||
<%= javascript_include_tag "sandbox/tally" %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,4 +62,4 @@ | |
</form> | ||
</section> | ||
|
||
<%= javascript_include_tag "sandbox/vote" %> | ||
<%= javascript_include_tag "sandbox/vote" %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
FROM iodide/pyodide:0.16.1 | ||
FROM codegram/pyodide:latest | ||
LABEL author="[email protected]" | ||
|
||
ENV PYODIDE_PACKAGES "pyasn1,libgmp,gmpy2,micropip,attrs,sortedcontainers,hypothesis,jsons,typish,rsa" | ||
|
||
RUN apt-get update && apt-get install -y m4 | ||
|
||
# Add base packages meta files | ||
ADD packages /packages | ||
|
||
|
@@ -12,4 +14,4 @@ RUN cp -rf /packages/* /src/pyodide/packages | |
WORKDIR /src/pyodide | ||
|
||
# Compile base packages | ||
RUN make | ||
RUN make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.