Sign inSign up

lewimbes/dioxus

By lewimbes

•Updated 2 months ago

Docker image for building applications using Dioxus and TailwindCSS.

Image
Integration & delivery
Web servers
0

3.4K

lewimbes/dioxus repository overview

⁠Dioxus Docker Image

Build status

Automatically builds and publishes multi‑architecture Docker images for Dioxus⁠ which can be used to build Dioxus apps in a containerized environment.


⁠✨ Why use this image?

  • Multi‑arch – runs on linux/amd64 and linux/arm64.
  • Automatic rebuilds – whenever a new Dioxus version is released.
  • Available from Docker Hub (lewimbes/dioxus) and GHCR (ghcr.io/lewimbes/dioxus-docker).

⁠📦 Quick start

# Pull the latest image
docker pull ghcr.io/lewimbes/dioxus-docker:latest

# Or pin a specific version
docker pull ghcr.io/lewimbes/dioxus-docker:0.7.2
docker pull ghcr.io/lewimbes/dioxus-docker:0.7
docker pull ghcr.io/lewimbes/dioxus-docker:0

⁠🛠️ Build it yourself

docker buildx build \
  --platform linux/amd64,linux/arm64 \
  --build-arg DIOXUS_CLI_VERSION=0.7.2 \
  -t dioxus:0.7.2 .

⁠🚀 Usage

⁠Locally
docker run --rm \
  -u $(id -u):$(id -g) \
  -e CARGO_HOME=/tmp/cargo \
  -e HOME=/tmp \
  -v .:/workspace \
  -w /workspace \
  ghcr.io/lewimbes/dioxus-docker:0.7.2 \
  dx build --release

⁠🤖 How the workflow works

A single GitHub Actions workflow keeps the image fresh:

  • Triggers

    • A daily scheduled run that checks whether Dioxus has a new release.
  • If an update is needed, the job:

    • Builds a new Dioxus image for linux/amd64 and linux/arm64.
    • Tags the result (latest, full semver, major‑minor, major).
    • Pushes to Docker Hub and GHCR.

See auto-build-on-release.yml⁠ for full details.


⁠📝 License

This repository is licensed under either the MIT License or the Apache License 2.0.
The upstream project Dioxus⁠ is licensed under either the MIT License or the Apache License 2.0.


⁠Official resources

Tag summary

Content type

Image

Digest

sha256:1d161a968…

Size

667 MB

Last updated

2 months ago

docker pull lewimbes/dioxus