Fix Syncthing build failing
This commit is contained in:
parent
12ad9c4d2e
commit
32c9e0e9f6
|
@ -2,10 +2,11 @@ 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 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 \
|
/etc/apt/sources.list.d/syncthing.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install syncthing \
|
&& apt-get install -y apt-transport-https \
|
||||||
|
&& 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/*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue