Skip to content

Commit 4d45a72

Browse files
authored
Merge pull request #4 from linuxserver/non_beta
pull only beta or release builds and not canary
2 parents c9333b7 + 9393b55 commit 4d45a72

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
FROM lsiobase/mono
22
MAINTAINER sparklyballs
33

4-
# environment settings
4+
# environment settings
55
ENV HOME="/config"
66

77
# set version label
88
ARG BUILD_DATE
99
ARG VERSION
1010
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
1111

12-
# install duplicati
12+
# install duplicati
1313
RUN \
1414
mkdir -p \
1515
/app/duplicati && \
1616
duplicati_tag=$(curl -sX GET "https://api.github.com/repos/duplicati/duplicati/releases" \
17-
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
17+
| awk '/tag_name.*(beta|release)/{print $4;exit}' FS='[""]') && \
1818
duplicati_zip="duplicati-${duplicati_tag#*-}.zip" && \
1919
curl -o \
2020
/tmp/duplicati.zip -L \
2121
"https://github.com/duplicati/duplicati/releases/download/${duplicati_tag}/${duplicati_zip}" && \
2222
unzip -q /tmp/duplicati.zip -d /app/duplicati && \
2323

24-
# cleanup
24+
# cleanup
2525
rm -rf \
2626
/tmp/*
2727

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,5 @@ The webui is at `<your ip>:8200` , create backup jobs etc via the webui, for loc
8080

8181
## Versions
8282

83+
+ **31.08.17:** Build only beta or release versions (thanks deasmi).
8384
+ **24.04.17:** Initial Release.

0 commit comments

Comments
 (0)