mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-22 17:06:29 +00:00
18 lines
935 B
Docker
18 lines
935 B
Docker
FROM cimg/rust:1.81.0
|
|
COPY --from=sclevine/yj /bin/yj /bin/yj
|
|
RUN /bin/yj -h
|
|
RUN sudo apt-get update && \
|
|
sudo apt-get install -y \
|
|
psmisc postgresql-contrib-14 postgresql-client-14 libpq-dev \
|
|
ruby ruby-dev python3 python3-pip \
|
|
lcov llvm-11 iproute2 && \
|
|
sudo apt-get upgrade curl && \
|
|
cargo install cargo-binutils rustfilt && \
|
|
rustup component add llvm-tools-preview && \
|
|
pip3 install psycopg2 && sudo gem install bundler && \
|
|
wget -O /tmp/toxiproxy-2.4.0.deb https://github.com/Shopify/toxiproxy/releases/download/v2.4.0/toxiproxy_2.4.0_linux_$(dpkg --print-architecture).deb && \
|
|
sudo dpkg -i /tmp/toxiproxy-2.4.0.deb
|
|
RUN wget -O /tmp/go1.21.3.linux-$(dpkg --print-architecture).tar.gz https://go.dev/dl/go1.21.3.linux-$(dpkg --print-architecture).tar.gz && \
|
|
sudo tar -C /usr/local -xzf /tmp/go1.21.3.linux-$(dpkg --print-architecture).tar.gz && \
|
|
rm /tmp/go1.21.3.linux-$(dpkg --print-architecture).tar.gz
|