DockerCLI/dockerfiles
Sebastiaan van Stijn 0b8f46b061
Dockerfile: fix dynbinary inside dev container
Running `make dynbinary` inside the dev-container failed because
gcc was not installed. Adding the `build-base` metapackage, which
has gcc, make, g++ and other packages that are needed.

Before this change:

    $ make -f docker.Makefile shell
    $$ make dynbinary
    ./scripts/build/dynbinary
    Building dynamically linked build/docker-linux-amd64
    # github.com/docker/cli/cmd/docker
    /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exec: "gcc": executable file not found in $PATH
    make: *** [Makefile:63: dynbinary] Error 2

With this patch applied

    $ make -f docker.Makefile shell
    $$ make dynbinary
    ./scripts/build/dynbinary
    Building dynamically linked build/docker-linux-amd64
    $$ echo $?
    0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-08-28 16:25:15 +02:00
..
Dockerfile.binary-native Bump Golang 1.13.15 2020-08-10 17:24:48 +02:00
Dockerfile.cross Bump Golang 1.13.15 2020-08-10 17:24:48 +02:00
Dockerfile.dev Dockerfile: fix dynbinary inside dev container 2020-08-28 16:25:15 +02:00
Dockerfile.e2e Bump Golang 1.13.15 2020-08-10 17:24:48 +02:00
Dockerfile.lint Bump Golang 1.13.15 2020-08-10 17:24:48 +02:00
Dockerfile.shellcheck Dockerfiles: update shellcheck v0.7.1 2020-08-20 15:46:07 +02:00