-
Notifications
You must be signed in to change notification settings - Fork 10
Fix ethereum adapter & update Dockerfile Rust version to 1.45.2 #348
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
Closed
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f15f280
Update Dockerfile Rust version and fix Ethereum Adapter
elpiel f4cbf48
fix web3 branch and update Dockerfile Ubuntu version 20.04
elpiel 81482de
Test comment
7eb8357
README.md & Dockerfile update
elpiel a6a5d0d
README information & clean-up
elpiel 0192245
Cargo - update to the correct commit on `ethstore`
elpiel 91ea295
README - fix link and clean up
elpiel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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,18 +1,23 @@ | ||
FROM rust:1.40 as builder | ||
# Builder | ||
FROM rust:1.45.2 as builder | ||
|
||
MAINTAINER [email protected] | ||
LABEL maintainer="[email protected]" | ||
|
||
WORKDIR /usr/src/app | ||
|
||
COPY . . | ||
|
||
RUN cargo install --path validator_worker --all-features | ||
# We intall the validator_worker binary with all features in Release mode | ||
# Inlcude the full backtrace for easier debugging | ||
RUN RUST_BACKTRACE=full cargo install --path validator_worker --all-features | ||
|
||
WORKDIR /usr/local/bin | ||
|
||
RUN cp $CARGO_HOME/bin/validator_worker . | ||
|
||
FROM ubuntu:18.04 | ||
FROM ubuntu:20.04 | ||
|
||
RUN apt update && apt-get install -y libssl-dev ca-certificates | ||
|
||
# `ethereum` or `dummy` | ||
ENV ADAPTER= | ||
|
@@ -34,8 +39,6 @@ ENV SINGLE_TICK= | |
|
||
WORKDIR /usr/local/bin | ||
|
||
RUN apt update && apt-get install -y libssl-dev ca-certificates | ||
|
||
COPY docs/config/cloudflare_origin.crt /usr/local/share/ca-certificates/ | ||
|
||
RUN update-ca-certificates | ||
|
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.