From 1696e048664c58b601b894d26642ab0a7e747cbc Mon Sep 17 00:00:00 2001 From: xxchan Date: Tue, 17 Oct 2023 12:36:54 +0800 Subject: [PATCH] fix --- integration_tests/feature-store/Dockerfile | 7 +++++-- integration_tests/feature-store/docker-compose.yml | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/integration_tests/feature-store/Dockerfile b/integration_tests/feature-store/Dockerfile index 14960fb2deafd..7b68325bffead 100644 --- a/integration_tests/feature-store/Dockerfile +++ b/integration_tests/feature-store/Dockerfile @@ -1,8 +1,11 @@ -FROM rust:1.73 as feature-store-server +FROM ubuntu:20.04 AS feature-store-server ARG BUILD_ARG USER root +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain none -y +ENV PATH /root/.cargo/bin/:$PATH + ENV WORK_DIR /opt/feature-store RUN mkdir -p $WORK_DIR @@ -27,7 +30,7 @@ RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod RUN dpkg -i packages-microsoft-prod.deb RUN rm packages-microsoft-prod.deb RUN apt-get update && apt-get install -y dotnet-sdk-6.0 -RUN apt install -y liblttng-ust1 +RUN apt install -y liblttng-ust0 RUN apt install -y protobuf-compiler # `cargo build` included in ./build diff --git a/integration_tests/feature-store/docker-compose.yml b/integration_tests/feature-store/docker-compose.yml index 11ff37cf37acc..caa950ea87ccd 100644 --- a/integration_tests/feature-store/docker-compose.yml +++ b/integration_tests/feature-store/docker-compose.yml @@ -66,7 +66,6 @@ services: - "./mfa-start.sql:/mfa-start.sql" - "./mfa-mock.sql:/mfa-mock.sql" feature-store: - image: rust:1.73 build: context: . target: feature-store-server