Skip to content

Commit 85a94c5

Browse files
committed
docker: Fix mismatch in build and run base image
1 parent 636c3f0 commit 85a94c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# by running something like the following
55
# docker build --target STAGE -f docker/Dockerfile .
66

7-
FROM rust:latest as graph-node-build
7+
FROM rust:buster as graph-node-build
88

99
ARG COMMIT_SHA=unknown
1010
ARG REPO_NAME=unknown
@@ -14,6 +14,7 @@ ARG TAG_NAME=unknown
1414
ADD . /graph-node
1515

1616
RUN cd /graph-node \
17+
&& rustup component add rustfmt \
1718
&& RUSTFLAGS="-g" cargo install --locked --path node \
1819
&& cargo clean \
1920
&& objcopy --only-keep-debug /usr/local/cargo/bin/graph-node /usr/local/cargo/bin/graph-node.debug \

0 commit comments

Comments
 (0)