diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ad4c88..903a7c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,10 @@ jobs: - uses: rlespinasse/github-slug-action@4.2.3 + - name: Install Rust + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + - name: Cache uses: actions/cache@v2 with: diff --git a/docker/Dockerfile.builder b/docker/Dockerfile.builder index 009bfb0..6491d82 100644 --- a/docker/Dockerfile.builder +++ b/docker/Dockerfile.builder @@ -4,5 +4,4 @@ RUN curl -fsSL https://rpm.nodesource.com/setup_16.x | bash - RUN yum install -y nodejs java pkgconfig openssl-devel && yum clean all RUN npm i -g yarn USER 1001 -RUN curl https://sh.rustup.rs -sSf | sh -s -- -y ENV PATH=/opt/app-root/src/.cargo/bin:/opt/rh/devtoolset-7/root/usr/bin:/opt/app-root/src/bin:/opt/app-root/bin:/opt/rh/devtoolset-7/root/usr/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin