Skip to content

Commit 17b785f

Browse files
committed
debug: build is docker.
1 parent fe028d9 commit 17b785f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docker/build/movement-aptos/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ RUN nix-env -iA nixpkgs.rsync nixpkgs.glibc nixpkgs.gawk
66
COPY . /tmp/build
77
WORKDIR /tmp/build
88

9+
# Set build to docker to skip the podman initilization while opening the flake
10+
ENV BUILD=docker
11+
912
# Build the Rust application
1013
RUN nix --extra-experimental-features "nix-command flakes" \
1114
develop .#docker-build --command bash -c "cargo build --release -p movement-atpos"

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@
144144
else
145145
echo "Warning: Could not find Podman socket"
146146
fi
147+
else
148+
echo "Build is docker podman will not be started."
147149
fi
148150
149151
# Add ./target/debug/* to PATH

0 commit comments

Comments
 (0)