Skip to content

Conversation

@asw101
Copy link
Collaborator

@asw101 asw101 commented Jan 19, 2026

Summary

Fixes #50

The devcontainer publish workflow was failing because the Dockerfile referenced a scripts/ directory that was removed in #26.

Changes

  • Dockerfile: Inlined the installation commands directly instead of copying the deleted scripts/ directory:

    • Install wasmtime via the official install script
    • Install cargo-component and wkg via cargo
  • devcontainer.json: Updated the image reference from ghcr.io/asw101/rust-wasi-hello-devcontainer:latest to ghcr.io/bytecodealliance/sample-wasi-http-rust-devcontainer:latest to match the workflow's published image path.

Testing

  • Trigger the publish-devcontainer.yml workflow manually via workflow_dispatch
  • Verify the image builds and pushes successfully to ghcr.io/bytecodealliance/sample-wasi-http-rust-devcontainer
  • Open the repository in a GitHub Codespace to confirm the devcontainer works

Fixes #50

- Remove dependency on deleted scripts/ directory by inlining
  wasmtime, cargo-component, and wkg installation in Dockerfile
- Update devcontainer.json to reference the correct published image
  (bytecodealliance/sample-wasi-http-rust-devcontainer)
@asw101 asw101 merged commit f2729de into main Jan 19, 2026
2 checks passed
@asw101 asw101 deleted the issue-50 branch January 19, 2026 22:26
@asw101
Copy link
Collaborator Author

asw101 commented Jan 19, 2026

Testing ghcr.io/bytecodealliance/sample-wasi-http-rust/devcontainer:latest per follow-up PR(s).

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.

Fix the dev container publish step

2 participants