Skip to content

Commit

Permalink
added ci dockerfile + fixed UTF8 encoding error
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob the Builder committed Sep 21, 2016
1 parent d128448 commit a4cb5ab
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions data/closure/versions/319/version.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
build:
classes: build/classes/
commands:
- sed -i 's/<javac/<javac encoding="UTF8"/g' build.xml
- ant compile
src: src/
misuses:
Expand Down
12 changes: 12 additions & 0 deletions docker/Dockerfile_ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM svamann/mubench:latest

RUN add-apt-repository ppa:ondrej/php
RUN add-apt-repository -y ppa:ondrej/mysql-5.6
RUN apt-get update

RUN apt-get install php5.6
RUN apt-get install mysql-server

RUN wget https://phar.phpunit.de/phpunit.phar
RUN chmod +x phpunit.phar
RUN mv phpunit.phar /usr/local/bin/phpunit
1 change: 0 additions & 1 deletion Dockerfile → docker/Dockerfile_run
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true
RUN apt-get install oracle-java8-installer
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
ENV PATH $PATH:$JAVA_HOME/bin
ENV JAVA_TOOL_OPTIONS -Dfile.encoding=UTF8
RUN update-alternatives --set java "$JAVA_HOME/jre/bin/java"
RUN update-alternatives --set javac "$JAVA_HOME/bin/javac"
RUN update-alternatives --set javaws "$JAVA_HOME/jre/bin/javaws"
Expand Down

0 comments on commit a4cb5ab

Please sign in to comment.