From 896ade53e43cd3263952b788cb58f6208cba6da0 Mon Sep 17 00:00:00 2001 From: stranger80 Date: Fri, 10 Nov 2023 08:22:22 +0100 Subject: [PATCH] Amending dockerfile to install specific version of Scarb --- DockerfileRocket | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DockerfileRocket b/DockerfileRocket index 421f2daa..2e12d4c0 100644 --- a/DockerfileRocket +++ b/DockerfileRocket @@ -2,6 +2,7 @@ FROM ubuntu:20.04 ENV DEBIAN_FRONTEND=noninteractive ENV DEBCONF_NONINTERACTIVE_SEEN=true +ENV SCARB_VERSION=2.3.1 RUN apt-get clean @@ -28,8 +29,8 @@ WORKDIR /opt/app SHELL ["/bin/bash", "-lc"] -# install Scarb -RUN curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | bash +# install Scarb (NOTE: a SPECIFIC version of Scarb is installed) +RUN curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | bash -s -- -v $SCARB_VERSION ENV PATH="/root/.local/bin:${PATH}" # copy Remix plugin source and install Rust