Skip to content
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

Use correct cargo stylus version in docker image #111

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

gligneul
Copy link
Contributor

Description

The current cargo-stylus-base docker image contains the wrong version of cargo stylus. See:

➜  cargo-stylus git:(gligneul/fix-base-docker) docker run --rm -it offchainlabs/cargo-stylus-base:0.5.5 cargo-stylus -V
stylus 0.5.2

This was caused because the cargo stylus version was hardcoded in the Dockerfile. This PR solves this issue by requiring an argument with the correct version. It also adds a Makefile with the target make docker to facilitate generating the image with the correct version set.

@gligneul gligneul changed the base branch from main to develop October 31, 2024 13:49
Copy link
Member

@joshuacolvin0 joshuacolvin0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gligneul gligneul merged commit b73f710 into develop Oct 31, 2024
7 checks passed
@gligneul gligneul deleted the gligneul/fix-base-docker branch October 31, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants