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

docker build fails #11

Open
segler-alex opened this issue Jun 8, 2021 · 0 comments · May be fixed by #12
Open

docker build fails #11

segler-alex opened this issue Jun 8, 2021 · 0 comments · May be fixed by #12

Comments

@segler-alex
Copy link

$ git clone https://github.com/jpweber/cole.git
$ cd cole
$ docker build -t cole .
---------- SNIP --------------
Step 6/12 : RUN CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o app .
 ---> Running in 92fe8e2f38e9
# github.com/jpweber/cole
./main.go:126:2: invalid character U+0023 '#'
./main.go:127:7: no new variables on left side of :=
The command '/bin/sh -c CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o app .' returned a non-zero code: 2
@sdsznsk sdsznsk linked a pull request Jan 18, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant