chore: use our custom build image to build docker image
This commit is contained in:
parent
b460fa8c82
commit
251b877015
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue