chore: use our custom build image to build docker image

This commit is contained in:
kolaente 2022-08-02 22:01:21 +02:00
parent b460fa8c82
commit 251b877015
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -1,14 +1,10 @@
############## ##############
# Build stage # Build stage
FROM golang:1-alpine3.12 AS build-env FROM vikunja/golang-build:latest AS build-env
ARG VIKUNJA_VERSION ARG VIKUNJA_VERSION
ENV TAGS "sqlite" ENV TAGS "sqlite"
ENV GO111MODULE=on
# Build deps
RUN apk --no-cache add build-base git
# Setup repo # Setup repo
COPY . ${GOPATH}/src/code.vikunja.io/api COPY . ${GOPATH}/src/code.vikunja.io/api