aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-02-19 20:59:01 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-02-19 22:12:32 +0200
commit4bafdd8e46e0e1991f443173c88fc8f896cac7da (patch)
tree7af2237936283ae47cc6f2f1b8e555fe8c2336ff /Dockerfile
parentabout: show commit id (diff)
downloadsoko-4bafdd8e46e0e1991f443173c88fc8f896cac7da.tar.gz
soko-4bafdd8e46e0e1991f443173c88fc8f896cac7da.tar.bz2
soko-4bafdd8e46e0e1991f443173c88fc8f896cac7da.zip
upgrade to go-pg v10
- update go dependencies - update to not use helper functions (removed) - add some missing `rel` directives to models (adding all other creates issues with foreign keys) - `orm.Query` -> `pg.Query` Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 96dc016..5ecaaa8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
FROM golang:1.19.3 AS builder
WORKDIR /go/src/soko
COPY . /go/src/soko
-RUN go get github.com/go-pg/pg/v9
+RUN go get github.com/go-pg/pg/v10
RUN go get github.com/mcuadros/go-version
RUN go get github.com/ulikunitz/xz
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o bin .