Skip to content

Provide official docker image dioxus/dx #1548

@ryo33

Description

@ryo33

I'd like to work on this.

Specific Demand

It's common to pack applications into container images in CI/CD and DevOps, and I do pack a dioxus application into a docker image. It could be helpful if a docker image is provided officially and usable as a base image for a build stage in a Dockerfile. It took me a half-hour to get my Dockerfile working, and I wish I had an official image for the dx command.

Implement Suggestion

Something like:

FROM rust
RUN apt-get update && apt-get install -y pkg-config libssl-dev perl make \
  && cargo install dioxus-cli --locked && rustup target add wasm32-unknown-unknown

cf. https://github.com/rust-lang/docker-rust

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions