Skip to content

Commit

Permalink
Amending dockerfile to install specific version of Scarb
Browse files Browse the repository at this point in the history
  • Loading branch information
stranger80 authored Nov 10, 2023
1 parent b029660 commit 896ade5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DockerfileRocket
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 896ade5

Please sign in to comment.