Skip to content

Commit

Permalink
feat(stylus-verifier): make use of docker api (#1074)
Browse files Browse the repository at this point in the history
* feat(stylus-verifier): make use of docker api

* feat(stylus-verifier): add docker api url argument into settings

* feat(stylus-verifier): add support unix-based docker api addresses

* fix(stylus-verifier): upload project directory into github container explicitly

* refactor(stylus-verifier): add trace logging on image build; rename start_container to run_container
  • Loading branch information
rimrakhimov authored Oct 24, 2024
1 parent 5842994 commit 67050ee
Show file tree
Hide file tree
Showing 10 changed files with 471 additions and 109 deletions.
194 changes: 177 additions & 17 deletions stylus-verifier/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions stylus-verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ anyhow = { version = "1.0.87" }
async-trait = { version = "0.1.82" }
blockscout-display-bytes = { version = "1.1.0" }
blockscout-service-launcher = { version = "0.13.1" }
bollard = { version = "0.17.1" }
bytes = { version = "1.7.1" }
flate2 = { version = "1.0.34" }
futures-util = { version = "0.3.30" }
git2 = { version = "0.19.0" }
pretty_assertions = { version = "1.4.0" }
prost = { version = "0.11" }
Expand All @@ -30,6 +33,7 @@ semver = { version = "1.0.23" }
serde = { version = "1" }
serde_json = { version = "1.0.128" }
serde_with = { version = "3.9" }
tar = { version = "0.4.42" }
tempfile = { version = "3.12.0" }
thiserror = { version = "1.0.63" }
tokio = { version = "1.40.0" }
Expand All @@ -38,3 +42,4 @@ tonic = { version = "0.8" }
tonic-build = { version = "0.8" }
tracing = { version = "0.1.40" }
url = { version = "2.5.2" }
uuid = { version = "1.10.0" }
3 changes: 1 addition & 2 deletions stylus-verifier/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ RUN cargo build --release

FROM ubuntu:20.04 AS run
RUN apt-get update && \
apt-get install -y libssl1.1 libssl-dev ca-certificates curl && \
curl -sSL https://get.docker.com/ | sh
apt-get install -y libssl1.1 libssl-dev ca-certificates curl

WORKDIR /app
ENV APP_USER=app
Expand Down
Loading

0 comments on commit 67050ee

Please sign in to comment.