Skip to content

Commit

Permalink
remove nix-channel and nix-env
Browse files Browse the repository at this point in the history
  • Loading branch information
aki-mizu committed Dec 4, 2024
1 parent 94b2818 commit c37e29e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ COPY Cargo.toml ./Cargo.toml
COPY crates ./crates

# Start the Nix daemon and develop the environment
RUN nix-channel --update && \
nix-env -iA nixpkgs.nix && \
nix develop --extra-experimental-features nix-command --extra-experimental-features flakes --command cargo build --release --bin cdk-mintd
RUN nix develop --extra-experimental-features nix-command --extra-experimental-features flakes --command cargo build --release --bin cdk-mintd

# Create a runtime stage
FROM debian:bookworm-slim
Expand Down

0 comments on commit c37e29e

Please sign in to comment.