The `GO_IMAGE` build-arg doesn't have a default;
- InvalidDefaultArgInFrom: Default value for ARG ${GO_IMAGE} results in empty or invalid base image name (line 8)
This is not a real issue when building using the Makefiles (which is how
these Dockerfiles are expected to be used) but we can probably set a
default.
This patch sets the default to `golang:latest` to pick the latest version,
which should be fine for this (until we get a linter recommending not
to use `:latest`).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Replace legacy `ENV key value` syntax with `ENV key=value`.
This fixes the build linter warning LegacyKeyValueFormat.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Use COPY --link for steps that don't depend on the base image
or prior steps, to allow for better sharing of build-cache.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>