add auto-pause to kic image
parent
8df298f348
commit
175dbcf7ae
|
|
@ -26,6 +26,7 @@ _testmain.go
|
||||||
*.test
|
*.test
|
||||||
*.prof
|
*.prof
|
||||||
|
|
||||||
|
/deploy/kicbase/auto-pause
|
||||||
/out
|
/out
|
||||||
/_gopath
|
/_gopath
|
||||||
|
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -815,6 +815,8 @@ out/mkcmp:
|
||||||
.PHONY: out/auto-pause # auto pause binary to be used for auto-pause addon (only linux)
|
.PHONY: out/auto-pause # auto pause binary to be used for auto-pause addon (only linux)
|
||||||
out/auto-pause:
|
out/auto-pause:
|
||||||
GOOS=linux GOARCH=$(GOARCH) go build -o $@ cmd/auto-pause/auto-pause.go
|
GOOS=linux GOARCH=$(GOARCH) go build -o $@ cmd/auto-pause/auto-pause.go
|
||||||
|
# work arround for not passing the whole repo as docker context
|
||||||
|
GOOS=linux GOARCH=$(GOARCH) go build -o deploy/kicbase/auto-pause cmd/auto-pause/auto-pause.go
|
||||||
|
|
||||||
.PHONY: out/performance-bot
|
.PHONY: out/performance-bot
|
||||||
out/performance-bot:
|
out/performance-bot:
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ COPY 11-tcp-mtu-probing.conf /etc/sysctl.d/11-tcp-mtu-probing.conf
|
||||||
COPY clean-install /usr/local/bin/clean-install
|
COPY clean-install /usr/local/bin/clean-install
|
||||||
COPY entrypoint /usr/local/bin/entrypoint
|
COPY entrypoint /usr/local/bin/entrypoint
|
||||||
# must first run make out/auto-pause
|
# must first run make out/auto-pause
|
||||||
COPY ../../out/auto-pause /usr/local/bin/auto-pause
|
COPY auto-pause /usr/local/bin/auto-pause
|
||||||
|
|
||||||
# Install dependencies, first from apt, then from release tarballs.
|
# Install dependencies, first from apt, then from release tarballs.
|
||||||
# NOTE: we use one RUN to minimize layers.
|
# NOTE: we use one RUN to minimize layers.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue