From 6001281f43c68cfb250c6c88b451301389f622ec Mon Sep 17 00:00:00 2001 From: Sander Bruens Date: Tue, 23 Jul 2024 14:13:14 -0400 Subject: [PATCH] test(server): fix integration test by downgrading to Alpine 3.18 (#1566) * Debug docker on runner. * Revert "Debug docker on runner." This reverts commit bb44ceb6c31589c05da81512f9eab7ed192fc32e. * Pin to alpine3.18. * Add comment to Dockerfile. --- src/shadowbox/integration_test/client/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/shadowbox/integration_test/client/Dockerfile b/src/shadowbox/integration_test/client/Dockerfile index 6dad30f4..31a51bb6 100644 --- a/src/shadowbox/integration_test/client/Dockerfile +++ b/src/shadowbox/integration_test/client/Dockerfile @@ -12,7 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM docker.io/golang:1-alpine +# Alpine 3.19 curl is using the c-ares resolver instead of the system resolver, +# which caused DNS issues. Upgrade once the Alpine image includes the fix. See +# https://github.com/Jigsaw-Code/outline-server/pull/1566. +FROM docker.io/golang:1-alpine3.18 # curl for fetching pages using the local proxy RUN apk add --no-cache curl git