Skip to content
Snippets Groups Projects

fix: move to rust API for local SQL

Merged Denis Smirnov requested to merge 494-issue into main
Compare and
24 files
+ 915
733
Compare changes
  • Side-by-side
  • Inline
Files
24
+ 12
17
@@ -3,22 +3,17 @@ FROM docker-public.binary.picodata.io/tarantool:latest
ENV PATH=/usr/local/bin:/root/.cargo/bin:${PATH}
ENV LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH
RUN yum -y remove git git-* && \
rm -f /etc/yum.repos.d/pg.repo && \
yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm && \
yum -y update && \
yum install -y git && \
curl -L https://tarantool.io/UaooCnt/release/2/installer.sh | bash && \
yum install -y wget openssl-devel cartridge-cli-2.12.2 readline-devel libicu-devel && \
yum groupinstall -y "Development Tools" && \
yum clean all && \
wget https://ftp.gnu.org/gnu/gcc/gcc-4.9.2/gcc-4.9.2.tar.gz && \
tar -xzf gcc-4.9.2.tar.gz && cd gcc-4.9.2 && ./contrib/download_prerequisites && \
./configure --enable-checking=release --enable-languages=c,c++ --disable-multilib && \
make && make install; cd .. && rm -rf gcc* && \
RUN rm -f /etc/yum.repos.d/pg.repo && \
dnf -y update && \
dnf install -y git gcc gcc-c++ make cmake golang findutils && \
mkdir -p $(go env GOPATH)/bin && \
export PATH=$(go env GOPATH)/bin:$PATH && \
git clone https://github.com/magefile/mage.git && \
cd mage && go run bootstrap.go && cd .. && rm -rf mage && \
git clone https://github.com/tarantool/cartridge-cli.git && \
cd cartridge-cli && git checkout 2.10.0 && \
mage build && mv ./cartridge /usr/local/bin && cd .. && rm -rf cartridge-cli && \
dnf install -y openssl-devel readline-devel libicu-devel && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=1.76.0 -y --profile default && \
rustup component add rustfmt && \
cargo install cargo-audit && \
wget https://cmake.org/files/v3.17/cmake-3.17.3.tar.gz && \
tar zxvf cmake-3.17.3.tar.gz && cd cmake-3.17.3 && ./configure && make && make install && \
cd .. && rm -rf cmake*
cargo install cargo-audit
Loading