Publishing a Docker Container for MS Edit to the GitHub Container Registry
10 months ago
- #Rust
- #Docker
- #TextEditor
- Microsoft released Edit, a terminal text editor written in Rust with a retro MS DOS feel.
- Edit can be run on Apple Silicon Macs using a Docker container with an aarch64-linux-gnu build.
- Two Docker setups were tested: Ubuntu (glibc) and Alpine (with gcompat for musl compatibility).
- A multi-stage Dockerfile was created for Alpine to minimize the final image size.
- The Docker image was published to GitHub's Container Registry for public use.
- GitHub's Container Registry requires a Personal Access Token (PAT) with specific permissions.
- The final image can be run with a command that mounts the current directory as a workspace.
- A GitHub repository was created to host the Dockerfile and usage instructions.