mirror of
https://github.com/linuxserver/docker-ombi.git
synced 2026-02-20 00:58:02 +08:00
Rebase to xenial, pull ombi v3
This commit is contained in:
parent
56ff10b7f7
commit
2c4e1715b4
15
Dockerfile
15
Dockerfile
@ -1,4 +1,4 @@
|
||||
FROM lsiobase/mono
|
||||
FROM lsiobase/xenial
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@ -7,16 +7,21 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
|
||||
LABEL maintainer="sparklyballs"
|
||||
|
||||
RUN \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
libcurl3 \
|
||||
libicu55 \
|
||||
libunwind8 && \
|
||||
echo "**** install ombi ****" && \
|
||||
mkdir -p \
|
||||
/opt && \
|
||||
ombi_tag=$(curl -sX GET "https://api.github.com/repos/tidusjar/Ombi/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
|
||||
curl -o \
|
||||
/tmp/ombi-src.zip -L \
|
||||
"https://github.com/tidusjar/Ombi/releases/download/${ombi_tag}/Ombi.zip" && \
|
||||
unzip -q /tmp/ombi-src.zip -d /tmp && \
|
||||
mv /tmp/Release /opt/ombi && \
|
||||
/tmp/ombi-src.tar.gz -L \
|
||||
"https://github.com/tidusjar/Ombi/releases/download/${ombi_tag}/linux.tar.gz" && \
|
||||
tar xzf /tmp/ombi-src.tar.gz -C /opt/ombi/ && \
|
||||
chmod +x /opt/ombi/Ombi && \
|
||||
echo "**** clean up ****" && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user