Skip to content

Commit

Permalink
Fix docker build (#601)
Browse files Browse the repository at this point in the history
* Fix Docker build

I didn't test it locally, but theratically should be able to fix the
[docker build failure](https://github.com/chainx-org/ChainX/runs/4324208279?check_suite_focus=true)
as long as we use the same rustc version to the one used in GitHub Action.

* Add a note in ci.yml
  • Loading branch information
liuchengxu authored Dec 2, 2021
1 parent 4338d8d commit 818a699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
# NOTE: Do not forget to also update the toolchain in Dockerfile when updating the toolchain here.
toolchain: [nightly-2021-06-29]

steps:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL description="The build stage for ChainX. We create the ChainX binary in th

ARG PROFILE=release
ARG APP=chainx
ARG RUSTC_VERSION=nightly-2021-03-01
ARG RUSTC_VERSION=nightly-2021-06-29

WORKDIR /$APP

Expand Down

0 comments on commit 818a699

Please sign in to comment.