Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile: use alpine 3.12 #15950

Merged
merged 1 commit into from May 6, 2021
Merged

Dockerfile: use alpine 3.12 #15950

merged 1 commit into from May 6, 2021

Conversation

aanm
Copy link
Member

@aanm aanm commented Apr 29, 2021

In Alpine 3.11 and 3.13, 'nslookup' exits with the error code 1 if it
can't resolve all IPs for the search list defined in /etc/resolv.conf

However, it seems that Alpine 3.10 and 3.12 are not affected by this bug
and continue return the error code 0 if at least on of the domains in
the search list is resolved into an IP address. Thus, we will use the
latest Alpine image available for the 3.12 release series.

Signed-off-by: André Martins andre@cilium.io

@aanm aanm added release-note/misc This PR makes changes that have no direct user impact. release-blocker/1.10 labels Apr 29, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.10.0-rc2 Apr 29, 2021
Documentation/Dockerfile Outdated Show resolved Hide resolved
@rolinh
Copy link
Member

rolinh commented Apr 30, 2021

@aanm See my comment in this PR. TLDR: it seems broken also in 3.12, the only difference being that it exits with code 0 instead of 1 so appears successful. Have you tried bind-tools's implementation of nslookup instead?

@aanm aanm force-pushed the pr/fix-alpine branch 2 times, most recently from fa12000 to 36252c6 Compare April 30, 2021 15:12
@aanm
Copy link
Member Author

aanm commented Apr 30, 2021

test-me-please

@aanm aanm marked this pull request as ready for review April 30, 2021 15:13
@aanm aanm requested a review from a team April 30, 2021 15:13
@aanm aanm requested review from a team as code owners April 30, 2021 15:13
@aanm aanm requested review from a team, borkmann, nebril and qmonnet April 30, 2021 15:13
In Alpine 3.11 and 3.13, 'nslookup' exits with the error code 1 if it
can't resolve all IPs for the search list defined in /etc/resolv.conf

However, it seems that Alpine 3.10 and 3.12 are not affected by this bug
and continue return the error code 0 if at least on of the domains in
the search list is resolved into an IP address. Thus, we will use the
latest Alpine image available for the 3.12 release series.

Signed-off-by: André Martins <andre@cilium.io>
@aanm
Copy link
Member Author

aanm commented Apr 30, 2021

test-me-please

@aanm
Copy link
Member Author

aanm commented May 1, 2021

test-gke (K8sServicesTest Checks service across nodes Supports IPv4 fragments)

@aanm
Copy link
Member Author

aanm commented May 1, 2021

ci-multicluster

@aanm
Copy link
Member Author

aanm commented May 1, 2021

test-gke

Copy link
Member

@nebril nebril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall. Would be nice to have all these shas defined in one place only, but I guess it's out of scope of this change.

One question left inline, but non-blocking.

@@ -2,8 +2,8 @@ apiVersion: v2
name: cilium
displayName: Cilium
home: https://cilium.io/
version: 1.9.90
appVersion: 1.9.90
version: 1.10.90
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be 1.11.90 for master?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's 1.10.90 as we haven't released 1.11 yet. See it as the 90 is between 1.10.x and 1.11.0

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 5, 2021
@jrajahalme jrajahalme merged commit ff5f1dc into cilium:master May 6, 2021
@brb brb mentioned this pull request May 7, 2021
@aanm aanm moved this from Needs backport from master to Backport done to v1.10 in 1.10.0-rc2 May 17, 2021
tklauser added a commit that referenced this pull request Jul 4, 2022
Since alpine 3.12 is EOL and was recently dropped from docker official
images [1], update our images to alpine 3.16.0 which is currently the
most recent version.

[1] docker-library/official-images#12477

The comment about nslookup stems from PR #15950, but none of the images
seem to use nslookup. We only use these images for ca-certificates and
python/bash, respectively.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
qmonnet pushed a commit that referenced this pull request Jul 6, 2022
Since alpine 3.12 is EOL and was recently dropped from docker official
images [1], update our images to alpine 3.16.0 which is currently the
most recent version.

[1] docker-library/official-images#12477

The comment about nslookup stems from PR #15950, but none of the images
seem to use nslookup. We only use these images for ca-certificates and
python/bash, respectively.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
ldelossa pushed a commit to ldelossa/cilium that referenced this pull request Jul 13, 2022
[ upstream commit 7e07d55 ]

Since alpine 3.12 is EOL and was recently dropped from docker official
images [1], update our images to alpine 3.16.0 which is currently the
most recent version.

[1] docker-library/official-images#12477

The comment about nslookup stems from PR cilium#15950, but none of the images
seem to use nslookup. We only use these images for ca-certificates and
python/bash, respectively.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Signed-off-by: Louis DeLosSantos <louis.delos@isovalent.com>
aanm pushed a commit that referenced this pull request Jul 14, 2022
[ upstream commit 7e07d55 ]

Since alpine 3.12 is EOL and was recently dropped from docker official
images [1], update our images to alpine 3.16.0 which is currently the
most recent version.

[1] docker-library/official-images#12477

The comment about nslookup stems from PR #15950, but none of the images
seem to use nslookup. We only use these images for ca-certificates and
python/bash, respectively.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Signed-off-by: Louis DeLosSantos <louis.delos@isovalent.com>
gandro pushed a commit to gandro/cilium that referenced this pull request Aug 4, 2022
[ upstream commit 7e07d55 ]

Since alpine 3.12 is EOL and was recently dropped from docker official
images [1], update our images to alpine 3.16.0 which is currently the
most recent version.

[1] docker-library/official-images#12477

The comment about nslookup stems from PR cilium#15950, but none of the images
seem to use nslookup. We only use these images for ca-certificates and
python/bash, respectively.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Signed-off-by: Louis DeLosSantos <louis.delos@isovalent.com>
Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
dezmodue pushed a commit to dezmodue/cilium that referenced this pull request Aug 10, 2022
Since alpine 3.12 is EOL and was recently dropped from docker official
images [1], update our images to alpine 3.16.0 which is currently the
most recent version.

[1] docker-library/official-images#12477

The comment about nslookup stems from PR cilium#15950, but none of the images
seem to use nslookup. We only use these images for ca-certificates and
python/bash, respectively.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
1.10.0-rc2
Backport done to v1.10
Development

Successfully merging this pull request may close these issues.

None yet

9 participants