Hi, I have a problem when deploy Rails api.
#11 0.255 /bin/bash: line 1: volta: command not found
I know little about docker, does it mean that volta is not installed on docker?
Can anyone help me to find out that? Thank you !!
source code is here:
$ fly deploy
==> Verifying app config
--> Verified app config
==> Building image
Remote builder fly-builder-holy-cloud-3637 ready
==> Creating build context
--> Creating build context done
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
Sending build context to Docker daemon 55.63kB
[+] Building 3.8s (11/26)
=> CACHED [internal] load remote build context 0.0s
=> CACHED copy /context / 0.0s
=> resolve image config for docker.io/docker/dockerfile:experimental 2.1s
=> CACHED docker-image://docker.io/docker/dockerfile:experimental@sha256:600e5c62eedff338b3f7a0850beb7c05866e0ef27b2d2e8c02aa468e78496ff5 0.0s
=> [internal] load metadata for quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-bullseye-slim 1.3s
=> [base 1/6] FROM quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-bullseye-slim@sha256:6a18708ef1cbc3dfa8c14a1fa3942d8b13c2ed2eebf5caa30e7099b11f2ae120 0.0s
=> CACHED [base 2/6] RUN mkdir /app 0.0s
=> CACHED [base 3/6] WORKDIR /app 0.0s
=> CACHED [base 4/6] RUN mkdir -p tmp/pids 0.0s
=> CACHED [base 5/6] RUN curl https://get.volta.sh | bash 0.0s
=> ERROR [base 6/6] RUN volta install node@16.14.2 yarn@1.22.19 && gem update --system --no-document && gem install -N bundler -v 2.3.7 0.3s
------
> [base 6/6] RUN volta install node@16.14.2 yarn@1.22.19 && gem update --system --no-document && gem install -N bundler -v 2.3.7:
#11 0.255 /bin/bash: line 1: volta: command not found
------
Error failed to fetch an image or build from source: error building: executor failed running [/bin/bash -o pipefail -c volta install node@${NODE_VERSION} yarn@${YARN_VERSION} && gem update --system --no-document && gem install -N bundler -v ${BUNDLER_VERSION}]: exit code: 127