Sign inSign up

josh56432/anchor-crostini

By josh56432

•Updated about 1 year ago

Anchor development environment package for Crostini / Chromebook and other Debian based OSs.

Image
Languages & frameworks
Developer tools
Databases & storage
0

669

josh56432/anchor-crostini repository overview

Build & Push License: Apache-2.0 GHCR

⁠anchor-crostini

⁠Anchor development environment for Crostini / Chromebook and other Debian OSs.

⁠anchor-crostini (by Wyvern Global)

A Chromebook / Crostini and standard Debian-compatible development container for building and testing Solana smart contracts using Anchor. Uses podman, can work on docker.

⁠☕ Support This Project

Buy Me A Coffee ⁠

⁠🚀 Quick Start

⁠🛠 Pre checks

Ensure that the following has an output:

sudo grep $(whoami) /etc/subuid /etc/subgid

If not, then perform the following before building or pulling the package:

echo "$(whoami):100000:65536" | sudo tee -a /etc/subuid | sudo tee -a /etc/subgid
podman system migrate
⁠Option 1. Pull from GitHub Container Registry (GHCR) or Dockerhub
# From GHCR
podman pull ghcr.io/wyvernglobal/anchor-crostini:stable
# From DockerHub
podman pull josh56432/anchor-crostini:stable
⁠Option 2. Build locally (on Debian or Crostini)
git clone https://github.com/wyvernglobal/anchor-crostini.git
cd ./anchor-crostini
podman build -t anchor-crostini .
⁠Run it
podman run -it --rm -v $PWD:/anchor-crostini -w /anchor-crostini --network host anchor-crostini bash

Or add an alias to ~/.bashrc or ~/.zshrc:

echo "alias anchor-crostini='podman run -it --rm -v \$PWD:/anchor-crostini -w /anchor-crostini --network host ghcr.io/wyvernglobal/anchor-crostini:latest bash'" >> ~/.bashrc
source ~/.bashrc

Then run with:

anchor-crostini

⁠✅ Compatibility

  • ✔️ Works on ChromeOS/Crostini (Debian-based)
  • ✔️ Works on standard Debian systems with Podman or Docker

⁠📄 License

Licensed under the Apache License, Version 2.0. See the LICENSE file or https://www.apache.org/licenses/LICENSE-2.0⁠.

Tag summary

Content type

Image

Digest

sha256:093d619b1…

Size

1.2 GB

Last updated

about 1 year ago

docker pull josh56432/anchor-crostini