diff --git a/helm/picodata.Dockerfile b/helm/picodata.Dockerfile index bca9a33138b2b19d0609a472dbaff81147e772b6..57d7b3892787daecca1ab0911bbdb0b4a428605f 100644 --- a/helm/picodata.Dockerfile +++ b/helm/picodata.Dockerfile @@ -1,18 +1,21 @@ FROM rockylinux:8 AS builder +RUN set -e; \ + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ + sh -s -- -y --profile default --default-toolchain 1.76.0 +ENV PATH=/root/.cargo/bin:${PATH} + RUN dnf -y install dnf-plugins-core \ && dnf config-manager --set-enabled powertools \ && dnf module -y enable nodejs:20 \ && curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo -o /etc/yum.repos.d/yarn.repo \ && rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg \ - && dnf install -y gcc gcc-c++ make cmake git libstdc++-static libtool nodejs yarn \ + && dnf install -y \ + gcc gcc-c++ make cmake git libstdc++-static libtool \ + openssl-devel \ + nodejs yarn \ && dnf clean all -RUN set -e; \ - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ - sh -s -- -y --profile default --default-toolchain 1.76.0 -ENV PATH=/root/.cargo/bin:${PATH} - WORKDIR /build/picodata COPY . . RUN cargo build --locked --release --features webui