mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 21:42:56 +00:00
* dockerfile fix, rust cache in docker build flow * check rust cachepot * another check rust cachepot * cleanup * revert docker build to debian:buster based rust to avoid libc6 version mismatch
24 lines
523 B
Docker
24 lines
523 B
Docker
FROM rust:1.56.1-slim-buster
|
|
WORKDIR /home/circleci/project
|
|
|
|
RUN set -e \
|
|
&& 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 \
|
|
clang
|
|
|
|
RUN set -e \
|
|
&& rustup component add clippy \
|
|
&& cargo install cargo-audit \
|
|
&& cargo install --git https://github.com/paritytech/cachepot
|