* Build images inside of docker to eliminate possibility of libc clashes rather than building locally and adding to container. * Fix image pull policy for swagger * Make dependencies more explicit * Add some `AllowParallel` directives in Tilt
9 lines
236 B
Plaintext
9 lines
236 B
Plaintext
FROM rust:1.63-slim-bullseye
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
RUN apt update && apt install -y \
|
|
iputils-ping \
|
|
libpq-dev \
|
|
cmake
|
|
WORKDIR /app
|
|
RUN rustup component add rustfmt
|
|
CMD CARGO_TARGET_DIR=target/docker cargo build |