mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 09:26:30 +00:00
The docker CI build image is failing due to this error 249.5 Finished release [optimized] target(s) in 2m 49s 249.5 Installing /home/circleci/.cargo/bin/rustfilt 249.5 Installed package `rustfilt v0.2.1` (executable `rustfilt`) 249.5 error: failed to compile `cargo-binutils v0.3.6`, intermediate artifacts can be found at `/tmp/cargo-installrWENQG` 249.5 249.5 Caused by: 249.5 package `cargo-platform v0.1.8` cannot be built because it requires rustc 1.73 or newer, while the currently active rustc version is 1.67.1 249.5 Try re-running cargo install with `--locked` 249.5 Summary Successfully installed rustfilt! Failed to install cargo-binutils (see error(s) above). 249.5 error: some crates failed to install So I am bumping the version up
18 lines
935 B
Docker
18 lines
935 B
Docker
FROM cimg/rust:1.79.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
|