-
-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
This issue intends to track the discussions to fix the broken Docker build. Once the Docker build is fixed #541 can possibly be merged.
On top of it, the current Dockerfile is configured to use and older version of the Rust Docker Image. Ideally, the latest image should be used (see comment) or be able to pass a specific version Rust version using build-time variables. In other words, the Docker image could be built by running the following commands:
docker build --build-arg RUST_VERSION="1.72-slim-buster" .Running the command above would instruct Docker to use the 1.72-slim-buster version instead of the default 1-alpine version as stated in the Dockerfile below:
# "1-alpine" is the latest Alpine version of the latest version of Rust
ARG RUST_VERSION="1-alpine"
# Utilise multi-stage builds to keep the final image small and efficient
FROM rust:${RUST_VERSION} AS builder
# ... rest of the contents of the DockerfileIn addition to the source code fixes, the documentations needs to be updated as well for posterity and proper usage of the tools.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels