From 311d1b4ad69a41206988204177238ec4b325ae30 Mon Sep 17 00:00:00 2001 From: Kelvin Chen Date: Tue, 29 Nov 2016 18:50:36 -0500 Subject: [PATCH] Really fix syncthing this time --- Dockerfiles/syncthing/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfiles/syncthing/Dockerfile b/Dockerfiles/syncthing/Dockerfile index 5c7fda6..dde5fd4 100644 --- a/Dockerfiles/syncthing/Dockerfile +++ b/Dockerfiles/syncthing/Dockerfile @@ -1,11 +1,12 @@ FROM buildpack-deps:xenial-curl MAINTAINER Kelvin Chen -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" >> \ /etc/apt/sources.list.d/syncthing.list \ && apt-get update \ - && apt-get install -y apt-transport-https \ && apt-get install -y syncthing \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*