Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restore deleted docker file
  • Loading branch information
Ivan Luzyanin committed Nov 6, 2017
commit 4d825b26ed62389609d31676be8660af7ffa9712
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM openjdk:alpine

LABEL maintainer "Jeff Sippel <jsippel@acorns.com>"

RUN apk update && \
apk upgrade && \
apk add --no-cache ruby ruby-nokogiri ruby-json

RUN addgroup -g 9000 -S code && \
adduser -S -G code app
USER app

COPY . /usr/src/app

WORKDIR /code
VOLUME /code

CMD ["/usr/src/app/bin/scalastyle"]