DockerCLI/dockerfiles
Sebastiaan van Stijn 6a74a63ee2
Dockerfile: update ALPINE_VERSION to 3.18
This also moves `musl-dev` to the alpine-base stage, due to changes in
Alpine 3.18 causing gotestsum build to fail because stdlib.h was missing;

    #17 5.065 # runtime/cgo
    #17 5.065 In file included from _cgo_export.c:3:
    #17 5.065 /usr/include/fortify/stdlib.h:23:15: fatal error: stdlib.h: No such file or directory
    #17 5.065    23 | #include_next <stdlib.h>
    #17 5.065       |               ^~~~~~~~~~

alpine 3.17:

    / # find / | grep stdlib.h
    /usr/include/c++/12.2.1/tr1/stdlib.h
    /usr/include/c++/12.2.1/stdlib.h

alpine 3.18

    / # find / | grep stdlib.h
    /usr/lib/llvm16/lib/clang/16/include/__clang_hip_stdlib.h
    /usr/include/fortify/stdlib.h
    /usr/include/c++/12.2.1/tr1/stdlib.h
    /usr/include/c++/12.2.1/stdlib.h

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-11-23 23:37:48 +01:00
..
Dockerfile.authors Dockerfile: update ALPINE_VERSION to 3.18 2023-11-23 23:37:48 +01:00
Dockerfile.dev Dockerfile: update ALPINE_VERSION to 3.18 2023-11-23 23:37:48 +01:00
Dockerfile.lint Dockerfile: update ALPINE_VERSION to 3.18 2023-11-23 23:37:48 +01:00
Dockerfile.shellcheck Dockerfile: use syntax=docker/dockerfile:1 2022-03-17 10:40:17 +01:00
Dockerfile.vendor Dockerfile: update ALPINE_VERSION to 3.18 2023-11-23 23:37:48 +01:00