|
|
@ -1,33 +1,30 @@
|
|
|
|
FROM lsiobase/alpine:3.6
|
|
|
|
FROM lsiobase/alpine:3.7
|
|
|
|
MAINTAINER sparklyballs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# set version label
|
|
|
|
# set version label
|
|
|
|
ARG BUILD_DATE
|
|
|
|
ARG BUILD_DATE
|
|
|
|
ARG VERSION
|
|
|
|
ARG VERSION
|
|
|
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|
|
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|
|
|
|
|
|
|
LABEL maintainer="sparklyballs"
|
|
|
|
|
|
|
|
|
|
|
|
# package version
|
|
|
|
# package version
|
|
|
|
ARG UBOOQUITY_VER="2.1.1"
|
|
|
|
ARG UBOOQUITY_VER="2.1.1"
|
|
|
|
|
|
|
|
|
|
|
|
# install build packages
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
RUN \
|
|
|
|
|
|
|
|
echo "**** install build packages ****" && \
|
|
|
|
apk add --no-cache --virtual=build-dependencies \
|
|
|
|
apk add --no-cache --virtual=build-dependencies \
|
|
|
|
curl \
|
|
|
|
curl \
|
|
|
|
unzip && \
|
|
|
|
unzip && \
|
|
|
|
|
|
|
|
echo "**** install runtime packages ****" && \
|
|
|
|
# install runtime packages
|
|
|
|
|
|
|
|
apk add --no-cache \
|
|
|
|
apk add --no-cache \
|
|
|
|
openjdk8-jre-base && \
|
|
|
|
openjdk8-jre-base && \
|
|
|
|
|
|
|
|
echo "**** install ubooquity ****" && \
|
|
|
|
# install ubooquity
|
|
|
|
|
|
|
|
mkdir -p \
|
|
|
|
mkdir -p \
|
|
|
|
/app/ubooquity && \
|
|
|
|
/app/ubooquity && \
|
|
|
|
curl -o \
|
|
|
|
curl -o \
|
|
|
|
/tmp/ubooquity.zip -L \
|
|
|
|
/tmp/ubooquity.zip -L \
|
|
|
|
"http://vaemendis.net/ubooquity/downloads/Ubooquity-${UBOOQUITY_VER}.zip" && \
|
|
|
|
"http://vaemendis.net/ubooquity/downloads/Ubooquity-${UBOOQUITY_VER}.zip" && \
|
|
|
|
unzip /tmp/ubooquity.zip -d /app/ubooquity && \
|
|
|
|
unzip /tmp/ubooquity.zip -d /app/ubooquity && \
|
|
|
|
|
|
|
|
echo "**** cleanup ****" && \
|
|
|
|
# cleanup
|
|
|
|
|
|
|
|
apk del --purge \
|
|
|
|
apk del --purge \
|
|
|
|
build-dependencies && \
|
|
|
|
build-dependencies && \
|
|
|
|
rm -rf \
|
|
|
|
rm -rf \
|
|
|
|