From f064169bf82ed5d621b706256da2d1497db13520 Mon Sep 17 00:00:00 2001 From: Hein Dauven Date: Wed, 4 Dec 2024 10:48:36 +0100 Subject: [PATCH] dockerfile: Make archive default --- Dockerfile | 2 +- README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9bbcc17be..888ccf2ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64} # Features to include in the build # E.g., --build-arg CARGO_FEATURES="archive" -ARG CARGO_FEATURES="" +ARG CARGO_FEATURES="archive" # Convert Docker platform arg to Rust target name, # and install nightly based on the Rust target diff --git a/README.md b/README.md index fe1182bcd..a7dd40814 100644 --- a/README.md +++ b/README.md @@ -115,15 +115,15 @@ See also `make help` for all the available commands It's also possible to run a local ephemeral node with Docker. -To build the Docker image without archive: - +To build the Docker image with archive: ```bash docker build -t rusk . ``` -To build the Docker image with archive: +To build the Docker image without archive: + ```bash -docker build -t rusk --build-arg CARGO_FEATURES="archive" . +docker build -t rusk --build-arg CARGO_FEATURES="" . ``` To run Rusk inside a Docker container: