2025-02-27 14:49:25 -06:00
|
|
|
FROM cimg/rust:1.81.0
|
2023-08-28 21:20:53 -05:00
|
|
|
COPY --from=sclevine/yj /bin/yj /bin/yj
|
|
|
|
|
RUN /bin/yj -h
|
2022-08-11 22:41:08 -07:00
|
|
|
RUN sudo apt-get update && \
|
2023-02-16 20:31:53 -06:00
|
|
|
sudo apt-get install -y \
|
2023-03-10 07:55:22 -08:00
|
|
|
psmisc postgresql-contrib-14 postgresql-client-14 libpq-dev \
|
2023-02-16 20:31:53 -06:00
|
|
|
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 && \
|
2023-11-08 17:25:49 +01:00
|
|
|
pip3 install psycopg2 && sudo gem install bundler && \
|
2023-02-16 21:35:15 -06:00
|
|
|
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
|
2023-11-08 17:25:49 +01:00
|
|
|
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
|