use 3.1.0 stable

master
Andy 6 years ago
parent f15f3d77b9
commit 399e605ce4
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

@ -32,7 +32,7 @@ WORKDIR $DATA
RUN ln -svf /bin/bash /bin/sh
# Install taiga-back
RUN git clone -b stable https://github.com/taigaio/taiga-back.git taiga-back \
RUN git clone -b 3.1.0 https://github.com/taigaio/taiga-back.git taiga-back \
&& source /usr/share/virtualenvwrapper/virtualenvwrapper.sh \
&& mkvirtualenv -p /usr/bin/python3.5 venvtaiga \
&& workon venvtaiga \
@ -42,7 +42,7 @@ RUN git clone -b stable https://github.com/taigaio/taiga-back.git taiga-back \
&& deactivate
# Install taiga-front (compiled)
RUN git clone -b stable https://github.com/taigaio/taiga-front-dist.git taiga-front-dist
RUN git clone -b 3.1.0-stable https://github.com/taigaio/taiga-front-dist.git taiga-front-dist
COPY robots.txt taiga-front-dist/dist/robots.txt
USER root

@ -1,15 +1,14 @@
NS ?= andrey01
NAME ?= taiga
VERSION ?= 0.1
VERSION ?= 3.1.0
default: build
build:
docker build --pull -t $(NS)/$(NAME):$(VERSION) -t $(NS)/$(NAME):latest -f Dockerfile .
docker build --pull -t $(NS)/$(NAME):$(VERSION) -f Dockerfile .
publish:
docker push $(NS)/$(NAME):$(VERSION)
docker push $(NS)/$(NAME):latest
check:
docker run --rm -i $(NS)/$(NAME):$(VERSION) sh -c "set -x; exit 0"
@ -18,4 +17,4 @@ console:
docker run --rm -ti --entrypoint sh $(NS)/$(NAME):$(VERSION)
clean:
docker rmi $(NS)/$(NAME):$(VERSION) $(NS)/$(NAME):latest
docker rmi $(NS)/$(NAME):$(VERSION)

Loading…
Cancel
Save