mirror of
https://github.com/linuxserver/docker-syncthing.git
synced 2026-02-19 20:04:00 +08:00
Upgraded to useing apt-list
This commit is contained in:
parent
1bf953b066
commit
be6502623f
@ -1,10 +1,12 @@
|
||||
FROM linuxserver/baseimage
|
||||
MAINTAINER lonix <lonixx@gmail.com>
|
||||
ENV APTLIST="syncthing"
|
||||
|
||||
#Applying stuff
|
||||
RUN curl -s https://syncthing.net/release-key.txt | sudo apt-key add - && \
|
||||
echo deb http://apt.syncthing.net/ syncthing release | sudo tee /etc/apt/sources.list.d/syncthing-release.list && \
|
||||
apt-get update -q && apt-get install -y syncthing && \
|
||||
RUN curl -s https://syncthing.net/release-key.txt | apt-key add - && \
|
||||
echo deb http://apt.syncthing.net/ syncthing release | tee /etc/apt/sources.list.d/syncthing-release.list && \
|
||||
apt-get update -q && apt-get install -y $APTLIST && \
|
||||
usermod -d /config abc && \
|
||||
apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
||||
|
||||
#Adding Custom files
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-get update -qq
|
||||
apt-get --only-upgrade install -yqq syncthing
|
||||
apt-get --only-upgrade install -yqq $APTLIST
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user