Skip to content

starknet-foundation/starknet-dev-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image for Cairo Development

This is a lightweight Docker image for Cairo development that is automatically build and pushed to Docker Hub under the name starknetfoundation/starknet-dev every time a new tag is pushed to the repo. The repository tag will become the tag of the image and it indicates the Cairo version supported by the image.

Publish with Git Action

Push the changes to the remote repo.

git push origin main

Create a local tag that will be used as the tag of the image on Docker Hub.

git tag 2.12.1

Push the local tag to the remote repo to trigger the Github action

git push origin 2.12.1

Verify that the Github action published the image to Docker Hub.

Publish with CLI

Login to Docker Hub

docker login

Create builder that supports multi-arch builds

docker buildx create --name mybuilder --use
docker buildx inspect --bootstrap

Build and push the multi-arch image

docker buildx build \
  --platform linux/amd64,linux/arm64 \
  --tag starknetfoundation/starknet-dev:2.12.1 \
  --tag starknetfoundation/starknet-dev:latest \
  --push \
  .

About

Docker image for Cairo development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •