Added build dependencies to CI and Dockerfile
Some checks failed
continuous-integration/drone the build failed
Some checks failed
continuous-integration/drone the build failed
This commit is contained in:
parent
a696888e11
commit
0eeea1e593
2 changed files with 9 additions and 0 deletions
|
|
@ -2,6 +2,12 @@ FROM rust:1.52-alpine3.13 AS builder
|
|||
|
||||
WORKDIR /src
|
||||
|
||||
# Install build dependencies
|
||||
RUN apk add --no-cache \
|
||||
musl-dev \
|
||||
postgresql-dev
|
||||
|
||||
# Copy over source code
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY src ./src/
|
||||
|
||||
|
|
|
|||
Reference in a new issue