-
Notifications
You must be signed in to change notification settings - Fork 547
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
[CI] Optimize rosetta docker #14272
[CI] Optimize rosetta docker #14272
Conversation
!ci-build-me |
dee9262
to
a8274a5
Compare
a8274a5
to
eab5933
Compare
!ci-build-me |
!ci-build-me |
!ci-build-me |
!ci-build-me |
!ci-build-me |
!ci-build-me |
!ci-build-me |
!ci-build-me |
!ci-build-me |
… into clean_rosetta_toolchain_dockers
!ci-build-me |
!ci-build-me |
!ci-build-me |
!ci-build-me |
dockerfiles/Dockerfile-mina-rosetta
Outdated
@@ -89,8 +88,17 @@ RUN export GOBIN="$(pwd)/bin" \ | |||
&& /usr/lib/go/bin/go mod tidy \ | |||
&& /usr/lib/go/bin/go install | |||
|
|||
# Rosetta-demo artifacts / build dir removal: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this documentation for running the test locally? It would be better to move this to somewhere more discoverable (or just delete it).
!ci-build-me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
# RUN curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/${ROSETTA_CLI_VERSION}/scripts/install.sh | sh -s | ||
COPY --from=builder /usr/lib/go /usr/lib/go | ||
RUN apt-get install -y gcc | ||
#RUN curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/${ROSETTA_CLI_VERSION}/scripts/install.sh | sh -s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this line commented out? If it's unnecessary, let's delete it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an explanation above to uncomment this line once coinbase fix delegation transaction support
!approved-for-mainnet |
!ci-build-me |
!ci-build-me |
Cleaned rosetta dockerfile. Before rosetta docker build process was split into 3 stages. Unfortunately 2 stages were building mina deamon which cause unnecessary long docker build execution. I also move all rosetta related steps into single docker. I don't know if that was necessary, but if in the future we would like to clean toolchain docker, it is easier now, as i extracted all rosetta needed steps into different docker