Missing git-init.sh and git-setup.sh and other problems #440
Unanswered
mrcleanandfresh
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The Dockerfile of this project contains a line that copies the files
git-init.sh
andgit-setup.sh
. When I build the image locally, having followed the instructions, I'm getting an error that these files cannot be found.After doing some digging in the submodule repository, these files were deprecated and removed:
I have also found I needed to run using
DOCKER_BUILDKIT=0
as indicated in this post: #227To get this working locally for me, I removed the lines:
Then created the network:
Then set the network to
external: true
, as it's now an external network. I didn't dig into why I had to do this; I was trying to get it working to test the application.Before building, the database container must be running for the Prisma migrations to take effect during the image build. So I had to run:
Finally, I can run the following:
I get pretty far with this approach, but it just seems to slog after the Prisma migrations on:
To work around this issue, while it was hanging, I ran
docker compose up -d calcom
in a separate terminal tab, and the container was able to start, as the hanging tab just keeps spitting out random logs.Random Logs
It seems to be still building the image, but just taking forever to do them—it's been 10s of minutes. Even though the image is running, the i8ln is not present. I can see the keys, but their values are not replacing them. This all feels very hacky. What am I doing wrong?
Am I misunderstanding this, or is this the legitimate way people are building this project? I'm surprised not to see more discussions or issues related to the problems I'm having. I am using the main branch, and have used
git submodule update --init --recursive
to get updated to the latest hash main is pinned to, but it's like something changed in the submodule and wasn't updated in this project.Update: It finished building after an hour.
Beta Was this translation helpful? Give feedback.
All reactions