mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
Reduce size of serve_hostname image
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:14.04
|
||||
FROM scratch
|
||||
MAINTAINER Tim Hockin <thockin@google.com>
|
||||
ADD serve_hostname /serve_hostname
|
||||
ADD serve_hostname.go /serve_hostname.go
|
||||
|
@@ -1,6 +1,6 @@
|
||||
all: serve_hostname
|
||||
|
||||
TAG = 1.0
|
||||
TAG = 1.1
|
||||
|
||||
serve_hostname: serve_hostname.go
|
||||
CGO_ENABLED=0 go build -a -installsuffix cgo --ldflags '-w' ./serve_hostname.go
|
||||
|
Reference in New Issue
Block a user