Skip to content
Permalink
Browse files

Add to alpine dockerfile

  • Loading branch information...
birchb1024 committed Apr 22, 2019
1 parent 94134ff commit d28fad22495fe86bba0ceb5dbf5c8585a1fa10d2
Showing with 4 additions and 2 deletions.
  1. +4 −2 docker/genyris-alpine.dockerfile
@@ -7,7 +7,7 @@
#
# Make the docker image:
#
# $ docker build -f docker/genyris-alpine.dockerfile --tag genyris-alpine:0.9.4.1 .
# $ docker build -f docker/genyris-alpine.dockerfile --tag genyris-alpine:latest --tag genyris-alpine:$(git describe --tags) .
#
# REPL:
#
@@ -29,7 +29,7 @@
#

FROM openjdk:8-alpine
RUN apk update && apk add bash
RUN apk update && apk add bash && apk add xvfb
ADD docker/genyris-alpine.dockerfile /Dockerfile
ADD dist/ /genyris/dist/
ADD bin/ /genyris/bin/
@@ -39,5 +39,7 @@ ADD test/ /genyris/test/
RUN /bin/bash -c 'echo Alpine $(cat /etc/alpine-release) && \
java -version 2>&1 && \
/genyris/bin/genyris < /dev/null'

USER 1000:1000
CMD genyris/bin/genyris

0 comments on commit d28fad2

Please sign in to comment.
You can’t perform that action at this time.