Fix Syncthing build failing

This commit is contained in:
Kelvin Chen 2016-11-21 00:25:44 -05:00
parent 12ad9c4d2e
commit 32c9e0e9f6
1 changed files with 3 additions and 2 deletions

View File

@ -2,10 +2,11 @@ FROM buildpack-deps:xenial-curl
MAINTAINER Kelvin Chen <kelvin@kelvinchen.org>
RUN curl -sL https://syncthing.net/release-key.txt | apt-key add - \
&& echo "deb http://apt.syncthing.net/ syncthing release" >> \
&& echo "deb https://apt.syncthing.net/ syncthing release" >> \
/etc/apt/sources.list.d/syncthing.list \
&& apt-get update \
&& apt-get install syncthing \
&& apt-get install -y apt-transport-https \
&& apt-get install -y syncthing \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*