Skip to content
New issue

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

the image is not assembled #225

Open
KKulishov opened this issue May 14, 2024 · 3 comments
Open

the image is not assembled #225

KKulishov opened this issue May 14, 2024 · 3 comments

Comments

@KKulishov
Copy link

Downloaded ver 1.0.5

and

docker build . -t coroot:test
gives this error
Step 9/16 : RUN go build -mod=readonly -ldflags "-X main.version=$VERSION" -o coroot . ---> Running in 5c260b9b7159 main.go:36:12: pattern static: no matching files found The command '/bin/sh -c go build -mod=readonly -ldflags "-X main.version=$VERSION" -o coroot .' returned a non-zero code: 1
I made a clone of the project, but the error during assembly remained the same

Can you please tell me what could be the error?

@KKulishov
Copy link
Author

I see /static/ is added to your exceptions in .gitignore

you can add a directory /static to complete the assembly

@eabykov
Copy link
Contributor

eabykov commented May 14, 2024

I have the same problem

@KKulishov
Copy link
Author

@apetruhin can you help me

docker build . -t coroot:test
still doesn't work

gives this error
main.go:36:12: pattern static: no matching files found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants