Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
Change base image to alphine to reduce image size
Browse files Browse the repository at this point in the history
  • Loading branch information
hex108 committed Mar 28, 2019
1 parent 6706f58 commit b1f909c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ generate-code: init

rel_bins:
go get github.com/mitchellh/gox
gox -osarch=${REL_OSARCH} -ldflags ${LD_FLAGS} \
CGO_ENABLED=0 gox -osarch=${REL_OSARCH} -ldflags ${LD_FLAGS} \
-output=${BIN_DIR}/{{.OS}}/{{.Arch}}/kube-batch ./cmd/kube-batch

images: rel_bins
Expand Down
2 changes: 1 addition & 1 deletion deployment/images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From ubuntu:18.04
From alpine:3.9

ADD kube-batch /usr/local/bin

Expand Down

0 comments on commit b1f909c

Please sign in to comment.