Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Sebastiaan van Stijn 9c73210773
deb,rpm: fix Dockerfile default value for ARG linting warnings
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>
2024-09-04 13:34:57 +02:00
Paweł Gronowski d61915e6c4
Dockerfile: Fix legacy `ENV key value` format
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>
2024-08-16 16:51:12 +02:00
Sebastiaan van Stijn a4090a0e19
deb, rpm: use GOTOOLCHAIN=local
Make sure we don't get unexpected updates of the go toolchain when building.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-09-26 12:50:01 +02:00
Sebastiaan van Stijn 297fa1524d
Update dockerfiles to use COPY --link
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>
2023-06-21 23:37:18 +02:00
Sebastiaan van Stijn 0348022bd6
deb: add Debian / Raspbian 12 "bookworm" (next stable)
Not yet released, but freeze was announced;
https://lists.debian.org/debian-devel-announce/2023/01/msg00004.html

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-30 19:01:45 +01:00