mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-26 07:39:58 +00:00
16 lines
635 B
Docker
16 lines
635 B
Docker
#
|
|
# Image with all the required dependencies to build https://github.com/zenithdb/zenith
|
|
# and Postgres from https://github.com/zenithdb/postgres
|
|
# Also includes some rust development and build tools.
|
|
#
|
|
FROM rust:slim-buster
|
|
WORKDIR /zenith
|
|
|
|
# Install postgres and zenith build dependencies
|
|
# clang is for rocksdb
|
|
RUN apt-get update && apt-get -yq install automake libtool build-essential bison flex libreadline-dev zlib1g-dev libxml2-dev \
|
|
libseccomp-dev pkg-config libssl-dev librocksdb-dev clang
|
|
|
|
# Install rust tools
|
|
RUN rustup component add clippy && cargo install cargo-chef cargo-audit
|