Skip to content

Commit

Permalink
Issue #15: Added JAVA_OPTS env variable to set UTF-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Winkler committed Jul 18, 2017
1 parent a3af07f commit 13171c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ WORKDIR /usr/bin/swagger2markup

RUN apk update && apk add ca-certificates wget && update-ca-certificates && wget https://jcenter.bintray.com/io/github/swagger2markup/swagger2markup-cli/1.3.1/swagger2markup-cli-1.3.1.jar

ENV JAVA_OPTS="-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8"

ENTRYPOINT ["java","-jar","/usr/bin/swagger2markup/swagger2markup-cli-1.3.1.jar"]

0 comments on commit 13171c6

Please sign in to comment.