Files
mf-fitter/.devcontainer/Dockerfile
Dylan Knutson f7bb5b0cdd initial commit
2024-12-28 01:28:33 +00:00

13 lines
604 B
Docker

FROM mcr.microsoft.com/devcontainers/rust:1-1-bullseye
# Include lld linker to improve build times either by using environment variable
# RUSTFLAGS="-C link-arg=-fuse-ld=lld" or with Cargo's configuration file (i.e see .cargo/config.toml).
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install clang lld \
&& apt-get autoremove -y && apt-get clean -y
# Install PostgreSQL client
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends postgresql-client \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*