Use GNU grep in the Alpine docker image for windows build

This commit is contained in:
Alessio 2024-02-25 22:34:08 -08:00
parent beb694b3ef
commit 4022717e96

View File

@ -2,7 +2,7 @@
# Pinning version 1.21.4 because 1.22 crashes when compiling go-sqlite3 on something in `sqlite3-binding.c`. # 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 from golang:1.21.4-alpine
run apk add --no-cache git sqlite-libs sqlite-dev build-base mingw-w64-gcc curl vim run apk add --no-cache git sqlite-libs sqlite-dev build-base mingw-w64-gcc curl vim grep
# Install golangci-lint # Install golangci-lint
run curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/go/bin v1.53.1 run curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/go/bin v1.53.1