Skip to content

Commit 88f645b

Browse files
committed
fix: use RUST_VERSION in graph-toolbox image
1 parent b6f705d commit 88f645b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dockerfiles/graph-toolbox/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARG TARGET="x86_64-unknown-linux-gnu"
1111

1212
ARG NODE_MAJOR=22
1313

14-
FROM rust:1-bookworm@sha256:efe14eee1be3fd2462fe349b5948b0d1b179b421c9fb23acb20b579f59299daf as graphman-build
14+
FROM rust:${RUST_VERSION}-bookworm@sha256:efe14eee1be3fd2462fe349b5948b0d1b179b421c9fb23acb20b579f59299daf as graphman-build
1515

1616
ARG GRAPH_NODE_VERSION
1717
ARG TARGET
@@ -38,7 +38,7 @@ RUN git checkout $(echo ${GRAPH_NODE_VERSION} | cut -d '@' -f 1)
3838

3939
RUN cargo build --bin graphman --release --target ${TARGET}
4040

41-
FROM rust:1-slim-bookworm@sha256:371c95a6914063ad8a1f00c1fd00e6c93cb8f30ae2831e973b891ff616bc1ab3 as runtime
41+
FROM rust:${RUST_VERSION}-slim-bookworm@sha256:371c95a6914063ad8a1f00c1fd00e6c93cb8f30ae2831e973b891ff616bc1ab3 as runtime
4242

4343
ARG INDEXER_VERSION
4444
ARG GRAPH_CLI_VERSION

0 commit comments

Comments
 (0)