fix: use our own build image as base build image

This commit is contained in:
kolaente 2022-08-02 23:02:01 +02:00
parent 59796fd490
commit b6d7323cdf
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

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