Pin golang:alpine docker container to v1.21.4 because v1.22 is crashing when compiling go-sqlite3

This commit is contained in:
Alessio 2024-02-19 23:41:33 -08:00
parent 9b6a9986d5
commit 71fc95e8d1

View File

@ -1,4 +1,6 @@
from golang:alpine
# Use Alpine because it comes with musl by default; point of this build is to staticallly compile libc
# Pinning version 1.21.4 because 1.22 crashes when compiling go-sqlite3 on something in `sqlite3-binding.c`.
from golang:1.21.4-alpine
run apk add --no-cache git sqlite-libs sqlite-dev build-base mingw-w64-gcc curl vim