Really fix syncthing this time

This commit is contained in:
Kelvin Chen 2016-11-29 18:50:36 -05:00
parent 32c9e0e9f6
commit 311d1b4ad6
1 changed files with 3 additions and 2 deletions

View File

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