Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 405 Bytes
FROM openjdk:8-jre-alpine
LABEL maintainer="Bogdan Marian <satrapu@users.noreply.github.com>"
ARG JAVA_DEBUG_PORT
ADD target/jdbc-with-docker-jar-with-dependencies.jar /opt/app/app.jar
RUN apk add --no-cache \
curl=7.59.0-r0 \
jq=1.5-r5
WORKDIR /opt/app
# Debug port
EXPOSE $JAVA_DEBUG_PORT
# Start Java application using environment variable JAVA_OPTIONS
CMD java $JAVA_OPTIONS -jar app.jar