Initial commit
This commit is contained in:
15
vendor/github.com/hyperhq/hypercli/hack/make/.ensure-httpserver
generated
vendored
Normal file
15
vendor/github.com/hyperhq/hypercli/hack/make/.ensure-httpserver
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Build a Go static web server on top of busybox image
|
||||
# and compile it for target daemon
|
||||
|
||||
dir="$DEST/httpserver"
|
||||
mkdir -p "$dir"
|
||||
(
|
||||
cd "$dir"
|
||||
GOOS=${DOCKER_ENGINE_GOOS:="linux"} GOARCH=${DOCKER_ENGINE_GOARCH:="amd64"} go build -o httpserver github.com/docker/docker/contrib/httpserver
|
||||
cp ../../../../contrib/httpserver/Dockerfile .
|
||||
docker build -qt httpserver . > /dev/null
|
||||
)
|
||||
rm -rf "$dir"
|
||||
Reference in New Issue
Block a user