Skip to content

Commit d18ec75

Browse files
Tweak Dockerfile to fix build
1 parent 49c9081 commit d18ec75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
###############################################################################
22
# builder image
33

4-
FROM clux/muslrust:stable as builder
4+
FROM clux/muslrust:1.88.0-nightly-2025-04-30 as builder
55

66
# postgres client is used to gate test server start, diesel_cli runs test migrations and init
7-
RUN apt-get update && apt-get install -y libpq-dev openssl pkg-config postgresql-client
8-
RUN rustup target add --toolchain stable x86_64-unknown-linux-gnu
9-
RUN cargo +stable install --target x86_64-unknown-linux-gnu \
7+
RUN apt-get update && apt-get install -y libpq-dev openssl pkg-config postgresql-client libssl-dev
8+
RUN rustup target add --toolchain nightly x86_64-unknown-linux-gnu
9+
RUN cargo +nightly install --target x86_64-unknown-linux-gnu \
1010
diesel_cli --no-default-features --features postgres
1111
ENV PATH="${PATH}:${HOME}/.cargo/bin"
1212

0 commit comments

Comments
 (0)