Skip to content

Commit

Permalink
Merge pull request #3111 from dusk-network/dockerfile-archive-default
Browse files Browse the repository at this point in the history
dockerfile: Make archive default
  • Loading branch information
HDauven authored Dec 4, 2024
2 parents bb91963 + f064169 commit 47de541
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 47de541

Please sign in to comment.