Skip to content

dockerfile: update Alpine to 3.18 - #3976

Merged
tonistiigi merged 3 commits into
moby:masterfrom
crazy-max:alpine-318
Jun 29, 2023
Merged

dockerfile: update Alpine to 3.18#3976
tonistiigi merged 3 commits into
moby:masterfrom
crazy-max:alpine-318

Conversation

@crazy-max

Copy link
Copy Markdown
Member

Also update Alpine edge digest.

@crazy-max

Copy link
Copy Markdown
Member Author

Ah now I recall why we pinned to 3.17 moby/moby#44570 but seems this one is new: https://github.com/moby/buildkit/actions/runs/5416169191/jobs/9845520595?pr=3976#step:8:981

 > [dnsname 3/3] RUN --mount=target=/root/.cache,type=cache   set -e; make binaries; mv bin/dnsname /usr/bin/dnsname:
0.361 GO111MODULE=on go build -mod=vendor -ldflags '-X main.gitCommit=18822f9a4fb35d1349eb256f4cd2bfd372474d84' -o bin/dnsname github.com/containers/dnsname/plugins/meta/dnsname
30.08 # runtime/cgo
30.08 In file included from _cgo_export.c:3:
30.08 /usr/include/fortify/stdlib.h:23:15: fatal error: stdlib.h: No such file or directory
30.08    23 | #include_next <stdlib.h>
30.08       |               ^~~~~~~~~~
30.08 compilation terminated.
67.01 make: *** [Makefile:42: binaries] Error 1

@tonistiigi

Copy link
Copy Markdown
Member

@crazy-max This was in some other repo as well. Something with musl-dev needs to be added manually now.

Also update Alpine edge digest.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
@crazy-max
crazy-max marked this pull request as ready for review June 29, 2023 20:43
@thaJeztah

Copy link
Copy Markdown
Member

Ah, yes; related (same issue);

@crazy-max
crazy-max requested a review from tonistiigi June 29, 2023 20:58
@tonistiigi
tonistiigi merged commit 7044785 into moby:master Jun 29, 2023
@crazy-max
crazy-max deleted the alpine-318 branch June 29, 2023 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants