fix(docker): use official go image instead of our own to build

This commit is contained in:
kolaente 2022-08-03 17:54:21 +02:00
parent fa82c71f8c
commit b71e6f8049
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -1,7 +1,11 @@
############## ##############
# Build stage # Build stage
FROM vikunja/golang-build AS build-env FROM golang:1.18-alpine AS build-env
RUN apk --no-cache add build-base git && \
go install github.com/magefile/mage@latest && \
mv /go/bin/mage /usr/local/go/bin
ARG VIKUNJA_VERSION ARG VIKUNJA_VERSION