docker-ombi/Dockerfile
2017-04-16 13:52:40 +01:00

33 lines
697 B
Docker
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM lsiobase/mono
MAINTAINER sparklyballs
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# install ombi
RUN \
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 && \
# clean up
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
# add local files
COPY /root /
# ports and volumes
EXPOSE 3579
VOLUME /config