Skip to content

Commit eee33f6

Browse files
committed
Add cargo binary directory to PATH.
1 parent 48b3f5d commit eee33f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN apt-get update && apt-get install -y libpq-dev openssl pkg-config postgresql
88
RUN rustup target add --toolchain stable x86_64-unknown-linux-gnu
99
RUN cargo +stable install --target x86_64-unknown-linux-gnu \
1010
diesel_cli --no-default-features --features postgres
11+
ENV PATH="${PATH}:${HOME}/.cargo/bin"
1112

1213
WORKDIR /rfcbot
1314
RUN USER=root cargo init --vcs none

0 commit comments

Comments
 (0)