You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ubooquity/Dockerfile

44 lines
888 B

FROM lsiobase/alpine:3.5
8 years ago
MAINTAINER sparklyballs
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# package version
8 years ago
ARG UBOOQUITY_VER="1.10.1"
# install build packages
8 years ago
RUN \
apk add --no-cache --virtual=build-dependencies \
curl \
unzip && \
# install runtime packages
8 years ago
apk add --no-cache \
--repository http://nl.alpinelinux.org/alpine/edge/community \
8 years ago
openjdk8-jre-base && \
# install ubooquity
8 years ago
mkdir -p \
/opt/ubooquity \
/opt/ubooquity/fonts && \
curl -o \
/tmp/ubooquity.zip -L \
"http://vaemendis.net/ubooquity/downloads/Ubooquity-${UBOOQUITY_VER}.zip" && \
unzip /tmp/ubooquity.zip -d /opt/ubooquity && \
# cleanup
8 years ago
apk del --purge \
build-dependencies && \
rm -rf \
/tmp/*
# copy local files
8 years ago
COPY root/ /
# ports and volumes
8 years ago
EXPOSE 2202
VOLUME /books /comics /config /files