Fixed dockerfile
This commit is contained in:
parent
9d83293590
commit
8245c90bc1
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue