-
Notifications
You must be signed in to change notification settings - Fork 247
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
feat(image): add CI compatible Dockerfile #11
Conversation
Dockerfile
Outdated
RUN make static | ||
RUN echo $(ls -la bin) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
Makefile
Outdated
|
||
.PHONY: build test vendor clean | ||
|
||
all: clean test build | ||
|
||
$(CMDS): | ||
go build -mod=vendor -tags json1 $(extra_flags) -o $@ ./cmd/$(shell basename $@) | ||
CGO_ENABLE=0 go build $(MOD_FLAGS) -tags json1 $(extra_flags) -o $@ ./cmd/$(shell basename $@) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sqlite bindings require CGO: https://github.com/mattn/go-sqlite3#installation
@@ -15,31 +18,31 @@ type Interface interface { | |||
|
|||
type Client struct { | |||
client api.RegistryClient | |||
health api.HealthClient | |||
conn *grpc.ClientConn | |||
health grpc_health_v1.HealthClient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
-count=1
tomake test
to prevent test result caching