https://linen.dev logo
makefile errors attempting to build dev environmen...
# help
a
running WSL in windows so I can get the dev environment up to try and start contributing and getting this error trying to run "make images" (tested with both using "bash" first and then trying to make images from WSL):
Copy code
ERROR: invalid tag "public.ecr.aws/shuttle-dev/provisioner:": invalid reference format
no idea what's happening here, any advice? full log:
Copy code
fatal: No names found, cannot describe anything.
docker buildx build \
       --build-arg folder=provisioner \
       --tag public.ecr.aws/shuttle-dev/provisioner:998fff7 \
       --tag public.ecr.aws/shuttle-dev/provisioner: \
       --tag public.ecr.aws/shuttle-dev/provisioner:latest \
       --load   \
       -f Containerfile \
       .
[+] Building 0.0s (0/0)
ERROR: invalid tag "public.ecr.aws/shuttle-dev/provisioner:": invalid reference format
make: *** [Makefile:108: shuttle-provisioner] Error 1
k
I believe it's missing git tags,
git fetch upstream --tags
should do it
Where upstream is the name of the shuttle remote
a
Ah it's working now, it looks like I had to pull more than just main branch and then once I did the git fetch it worked - thanks
k
Nice, no problem!
a
It looks like there's some windows funniness with the .sh files having windows line endings and needing to run dos2unix to clear windows CRLF stuff, I'll PR the docs at some point to add that in as a consideration
2 Views