mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-22 17:06:29 +00:00
14 lines
835 B
Docker
14 lines
835 B
Docker
FROM rust:1.81.0-slim-bookworm
|
|
|
|
COPY --from=sclevine/yj /bin/yj /bin/yj
|
|
RUN /bin/yj -h
|
|
RUN apt-get update && apt-get install llvm-11 psmisc postgresql-contrib postgresql-client ruby ruby-dev libpq-dev python3 python3-pip lcov curl sudo iproute2 -y
|
|
RUN cargo install cargo-binutils rustfilt
|
|
RUN rustup component add llvm-tools-preview
|
|
RUN sudo gem install bundler
|
|
RUN wget -O 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 toxiproxy-2.4.0.deb
|
|
RUN wget -O 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 go1.21.3.linux-$(dpkg --print-architecture).tar.gz && \
|
|
rm go1.21.3.linux-$(dpkg --print-architecture).tar.gz
|