test(server): fix integration test by downgrading to Alpine 3.18 (#1566)

* Debug docker on runner.

* Revert "Debug docker on runner."

This reverts commit bb44ceb6c3.

* Pin to alpine3.18.

* Add comment to Dockerfile.
This commit is contained in:
Sander Bruens 2024-07-23 14:13:14 -04:00 committed by GitHub
parent 9a3498112d
commit 6001281f43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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