mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4357ed4a73
dockerinit has been around for a very long time. It was originally used as a way for us to do configuration for LXC containers once the container had started. LXC is no longer supported, and /.dockerinit has been dead code for quite a while. This removes all code and references in code to dockerinit. Signed-off-by: Aleksa Sarai <asarai@suse.com>
11 lines
351 B
Bash
11 lines
351 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
(
|
|
export IAMSTATIC="false"
|
|
export EXTLDFLAGS_STATIC=''
|
|
export LDFLAGS_STATIC_DOCKER=''
|
|
export BUILDFLAGS=( "${BUILDFLAGS[@]/netgo /}" ) # disable netgo, since we don't need it for a dynamic binary
|
|
export BUILDFLAGS=( "${BUILDFLAGS[@]/static_build /}" ) # we're not building a "static" binary here
|
|
source "${MAKEDIR}/gccgo"
|
|
)
|