We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/calcom/.yarn
Attempting a one-click deployment using the following command:
cloudshell_open --repo_url "https://github.com/calcom/docker" --page "shell" --force_new_clone"
results in a failure during the Docker build process due to a missing /calcom/.yarn directory.
[ ✖ ] Failed to build container image. Error: attempted to build and failed: docker build failed: exit status 1, output: Dockerfile:52 -------------------- 50 | 51 | COPY calcom/package.json calcom/.yarnrc.yml calcom/turbo.json calcom/i18n.json ./ 52 | >>> COPY calcom/.yarn ./.yarn 53 | COPY --from=builder /calcom/yarn.lock ./yarn.lock 54 | COPY --from=builder /calcom/node_modules ./node_modules -------------------- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref c85e4d29-9d69-41c7-b7c8-3b930b37889c::wjhwitzfgj23hi5rbzh1ng837: "/calcom/.yarn": not found
The one-click deployment should successfully build the container without missing dependencies.
calcom
.dockerignore
Manually initialize submodules before running the build:
cd docker git submodule update --init --recursive docker build -t us-west2-docker.pkg.dev/rennted-cal-booking/cloud-run-source-deploy/docker .
git submodule update --init --recursive
calcom/.yarn
Dockerfile
The text was updated successfully, but these errors were encountered:
No branches or pull requests
One-Click Deployment Fails Due to Missing
/calcom/.yarn
DirectoryIssue Description
Attempting a one-click deployment using the following command:
results in a failure during the Docker build process due to a missing
/calcom/.yarn
directory.Steps to Reproduce
Error Log
Expected Behavior
The one-click deployment should successfully build the container without missing dependencies.
Possible Cause
calcom
directory appears to be empty or missing required files..dockerignore
might be excluding necessary dependencies.Workaround
Manually initialize submodules before running the build:
Suggested Fix
git submodule update --init --recursive
runs automatically when using the one-click deployment.calcom/.yarn
directory is correctly populated before copying it inDockerfile
.The text was updated successfully, but these errors were encountered: