[#24] Fixed libpq not wanting to link
parent
fd7a3e2331
commit
f381c5b910
|
@ -1,6 +1,6 @@
|
||||||
[development]
|
[development]
|
||||||
address = "localhost"
|
address = "0.0.0.0"
|
||||||
port = 7999
|
port = 8000
|
||||||
keep_alive = 5
|
keep_alive = 5
|
||||||
read_timeout = 5
|
read_timeout = 5
|
||||||
write_timeout = 5
|
write_timeout = 5
|
||||||
|
|
|
@ -8,7 +8,7 @@ ENV RUSTFLAGS "-C target-feature=-crt-static"
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
# Install build dependencies, rustup & rust's nightly build & toolchain
|
# Install build dependencies, rustup & rust's nightly build & toolchain
|
||||||
RUN apk update && apk add --no-cache openssl-dev curl libpq libgcc musl-dev gcc && \
|
RUN apk update && apk add --no-cache openssl-dev curl postgresql-dev libgcc musl-dev gcc && \
|
||||||
{ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly; } && \
|
{ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly; } && \
|
||||||
rustup target add x86_64-unknown-linux-musl --toolchain nightly
|
rustup target add x86_64-unknown-linux-musl --toolchain nightly
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue