update 0.13.6
update 0.13.6

FROM alpine:edge
MAINTAINER Sven Walter <sven@wltr.eu>

ARG SYNCTHING_VERSION=0.13.5

ENV SYNCTHING_DATA=/data
ENV SYNCTHING_HOME=/syncthing

ADD resources/syncthing.sh /syncthing/syncthing.sh

RUN set -x \
 && apk add --no-cache bash \
 && apk add --no-cache \
--repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
xmlstarlet \
 && apk add --no-cache --virtual .build-deps \
    curl \
        ca-certificates \
 && mkdir -p ${SYNCTHING_DATA} \
 && mkdir -p ${SYNCTHING_HOME} \
 && curl -L -o syncthing.tar.gz https://github.com/syncthing/syncthing/releases/download/v$SYNCTHING_VERSION/syncthing-linux-amd64-v$SYNCTHING_VERSION.tar.gz \
 && tar -xzvf syncthing.tar.gz \
 && rm -f syncthing.tar.gz \
 && mv syncthing-linux-amd64-v* $SYNCTHING_HOME/syncthing \
 && rm -rf $SYNCTHING_HOME/syncthing/etc \
 && rm -rf $SYNCTHING_HOME/syncthing/*.pdf \
 && chmod 770 /syncthing/syncthing.sh \
 && apk del .build-deps

WORKDIR $SYNCTHING_HOME
VOLUME ["$SYNCTHING_HOME"]
ENTRYPOINT ["/syncthing/syncthing.sh"]

FROM alpine:edge
MAINTAINER Sven Walter <sven@wltr.eu>

ARG SYNCTHING_VERSION=0.13.6

ENV SYNCTHING_DATA=/data
ENV SYNCTHING_HOME=/syncthing

ADD resources/syncthing.sh /syncthing/syncthing.sh

RUN set -x \
 && apk add --no-cache bash \
 && apk add --no-cache \
--repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
xmlstarlet \
 && apk add --no-cache --virtual .build-deps \
    curl \
        ca-certificates \
 && mkdir -p ${SYNCTHING_DATA} \
 && mkdir -p ${SYNCTHING_HOME} \
 && curl -L -o syncthing.tar.gz https://github.com/syncthing/syncthing/releases/download/v$SYNCTHING_VERSION/syncthing-linux-amd64-v$SYNCTHING_VERSION.tar.gz \
 && tar -xzvf syncthing.tar.gz \
 && rm -f syncthing.tar.gz \
 && mv syncthing-linux-amd64-v* $SYNCTHING_HOME/syncthing \
 && rm -rf $SYNCTHING_HOME/syncthing/etc \
 && rm -rf $SYNCTHING_HOME/syncthing/*.pdf \
 && chmod 770 /syncthing/syncthing.sh \
 && apk del .build-deps

WORKDIR $SYNCTHING_HOME
VOLUME ["$SYNCTHING_HOME"]
ENTRYPOINT ["/syncthing/syncthing.sh"]
