mirror of
https://github.com/linuxserver/docker-ombi.git
synced 2026-02-20 00:58:02 +08:00
Create Dockerfile.armhf
This commit is contained in:
parent
e38a5105d5
commit
7ca769a024
45
Dockerfile.armhf
Normal file
45
Dockerfile.armhf
Normal file
@ -0,0 +1,45 @@
|
||||
FROM lsiobase/ubuntu.armhf:bionic
|
||||
|
||||
# Add qemu to build on x86_64 systems
|
||||
COPY qemu-arm-static /usr/bin
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG OMBI_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="sparklyballs"
|
||||
|
||||
# environment settings
|
||||
ENV HOME="/config"
|
||||
|
||||
RUN \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
libcurl3 \
|
||||
libicu55 \
|
||||
libunwind8 && \
|
||||
echo "**** install ombi ****" && \
|
||||
mkdir -p \
|
||||
/opt/ombi && \
|
||||
if [ -z ${OMBI_RELEASE+x} ]; then \
|
||||
OMBI_RELEASE=$(curl -sX GET "https://api.github.com/repos/tidusjar/Ombi/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]') \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/ombi-src.tar.gz -L \
|
||||
"https://github.com/tidusjar/Ombi/releases/download/${OMBI_RELEASE}/linux.tar.gz" && \
|
||||
tar xzf /tmp/ombi-src.tar.gz -C \
|
||||
/opt/ombi/ && \
|
||||
chmod +x /opt/ombi/Ombi && \
|
||||
echo "**** clean up ****" && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY /root /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 3579
|
||||
Loading…
x
Reference in New Issue
Block a user