bump rainloop to v1.11.3

This commit is contained in:
Andy 2017-12-13 00:19:57 +01:00
parent 018b263b88
commit 9ec5462d5e
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC
2 changed files with 8 additions and 9 deletions

View File

@ -1,6 +1,6 @@
# http://product_installation_URL/?admin
# Default login is "admin", password is "12345".
FROM alpine:latest
FROM alpine:3.7
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
# Install the dependencies
@ -31,12 +31,12 @@ RUN mkdir -p /var/log/rainloop /var/lib/nginx/tmp && \
# Obtain the latest version of the RainLoop Webmail Community edition,
# verify its integrity using GnuPG and then decompress it
USER $USER
ENV RLFILE rainloop-community-latest.zip
ENV RLFILESIG rainloop-community-latest.zip.asc
ENV RLFILE rainloop-1.11.3.zip
ENV RLFILESIG rainloop-1.11.3.zip.asc
ENV FINGERPRINT "3B797ECE694F3B7B70F311A4ED7C49D987DA4591"
WORKDIR $DATA
RUN wget -O $RLFILE https://www.rainloop.net/repository/webmail/$RLFILE && \
wget -O $RLFILESIG https://www.rainloop.net/repository/webmail/$RLFILESIG && \
RUN wget -O $RLFILE https://github.com/RainLoop/rainloop-webmail/releases/download/v1.11.3/$RLFILE && \
wget -O $RLFILESIG https://github.com/RainLoop/rainloop-webmail/releases/download/v1.11.3/$RLFILESIG && \
export GNUPGHOME="$(mktemp -d)" && \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$FINGERPRINT" && \
gpg --batch --verify $RLFILESIG $RLFILE && \

View File

@ -1,15 +1,14 @@
NS ?= andrey01
NAME ?= rainloop
VERSION ?= 0.1
VERSION ?= 1.11.3
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)