docker-davos/Dockerfile
2016-11-14 17:47:12 +00:00

29 lines
539 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/alpine
MAINTAINER Josh Stark <jagfin1@gmail.com>
# add davos app
COPY build/libs/ /app/davos/
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# install packages
RUN \
apk add --no-cache \
curl \
openjdk8-jre && \
# rename and chmod davos app
mv /app/davos/*.jar /app/davos/davos.jar && \
chmod 755 /app/davos/davos.jar
# add local files
COPY root/ /
# ports and volumes
EXPOSE 8080
WORKDIR /app/davos
VOLUME /config /download