From fb9eced2d847251692bc9a196d0aa0d85a1c95ef Mon Sep 17 00:00:00 2001 From: Paul Balogh Date: Sat, 20 Jan 2024 11:50:53 -0600 Subject: [PATCH] Update SQLite version due to build issues exposed by docker builds Signed-off-by: Paul Balogh --- Dockerfile | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c4ef041..7f78238 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # multi-stage build for GoLang tiny deployment -FROM golang:1.20-alpine AS build +FROM golang:1.21-alpine AS build ARG build_version=0.0.1-SNAPSHOT ARG build_revision=unknown RUN apk --no-cache add build-base git COPY . $GOPATH/src/weesvc-gorilla/ WORKDIR $GOPATH/src/weesvc-gorilla -RUN make BUILD_VERSION=$build_version BUILD_REVISION=$build_revision setup build +RUN make BUILD_VERSION=$build_version BUILD_REVISION=$build_revision build-only # final build artifact FROM alpine diff --git a/go.mod b/go.mod index 45786bf..5bcc6d4 100644 --- a/go.mod +++ b/go.mod @@ -42,7 +42,7 @@ require ( github.com/lib/pq v1.10.9 // indirect github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect github.com/magiconair/properties v1.8.7 // indirect - github.com/mattn/go-sqlite3 v2.0.3+incompatible // indirect + github.com/mattn/go-sqlite3 v1.14.19 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/moby/patternmatcher v0.6.0 // indirect github.com/moby/sys/sequential v0.5.0 // indirect diff --git a/go.sum b/go.sum index b996973..cb43756 100644 --- a/go.sum +++ b/go.sum @@ -106,8 +106,8 @@ github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2 github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mattn/go-sqlite3 v1.14.0/go.mod h1:JIl7NbARA7phWnGvh0LKTyg7S9BA+6gx71ShQilpsus= -github.com/mattn/go-sqlite3 v2.0.3+incompatible h1:gXHsfypPkaMZrKbD5209QV9jbUTJKjyR5WD3HYQSd+U= -github.com/mattn/go-sqlite3 v2.0.3+incompatible/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= +github.com/mattn/go-sqlite3 v1.14.19 h1:fhGleo2h1p8tVChob4I9HpmVFIAkKGpiukdrgQbWfGI= +github.com/mattn/go-sqlite3 v1.14.19/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/moby/patternmatcher v0.6.0 h1:GmP9lR19aU5GqSSFko+5pRqHi+Ohk1O69aFiKkVGiPk=