mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
949a21b55f
This also removes the now-defunct `*maintainer*.sh` scripts that don't work with the new TOML format, and moves a couple not-build-or-release-related scripts to `contrib/` instead. Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
15 lines
362 B
Bash
15 lines
362 B
Bash
#!/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=linux 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"
|