fix: switch to buster for build image

The current alpine image does (still) not work on arm. Buster does, so we're just using that.
This commit is contained in:
kolaente 2022-08-02 22:53:10 +02:00
parent 26e2d0bdde
commit 59796fd490
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -1,10 +1,14 @@
############## ##############
# Build stage # Build stage
FROM vikunja/golang-build:latest AS build-env FROM golang:1-buster AS build-env
ARG VIKUNJA_VERSION ARG VIKUNJA_VERSION
ENV TAGS "sqlite" ENV TAGS "sqlite"
ENV GO111MODULE=on
# Build deps
RUN apt-get update && apt-get install git
# Setup repo # Setup repo
COPY . ${GOPATH}/src/code.vikunja.io/api COPY . ${GOPATH}/src/code.vikunja.io/api