Fixed dockerfile

This commit is contained in:
konrad 2018-09-08 15:18:57 +02:00
parent 9d83293590
commit 8245c90bc1
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -7,7 +7,7 @@ ARG VIKUNJA_VERSION
ENV TAGS "sqlite" ENV TAGS "sqlite"
#Build deps #Build deps
RUN apk --no-cache add build-base RUN apk --no-cache add build-base git
#Setup repo #Setup repo
COPY . ${GOPATH}/src/code.vikunja.io/vikunja COPY . ${GOPATH}/src/code.vikunja.io/vikunja
@ -15,7 +15,7 @@ WORKDIR ${GOPATH}/src/code.vikunja.io/vikunja
#Checkout version if set #Checkout version if set
RUN if [ -n "${VIKUNJA_VERSION}" ]; then git checkout "${VIKUNJA_VERSION}"; fi \ RUN if [ -n "${VIKUNJA_VERSION}" ]; then git checkout "${VIKUNJA_VERSION}"; fi \
&& make clean generate build && make clean build
FROM alpine:3.7 FROM alpine:3.7
LABEL maintainer="maintainers@vikunja.io" LABEL maintainer="maintainers@vikunja.io"