Skip to content

Commit

Permalink
Merge branch 'geoand-Dockefile-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitoy committed Nov 18, 2015
2 parents 158e1f9 + 8661502 commit 8cf5a16
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ MAINTAINER Kaito Yamada <kaitoy@pcap4j.org>
ADD https://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo /etc/yum.repos.d/epel-apache-maven.repo
RUN yum install -y libpcap \
git \
java-1.6.0-openjdk \
java-1.6.0-openjdk-devel \
apache-maven

# Build Pcap4J.
ENV JAVA_HOME /usr/lib/jvm/java-1.6.0-openjdk.x86_64/
ENV JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk.x86_64/
RUN cd /usr/local/src/ && git clone git://github.com/kaitoy/pcap4j.git
RUN cd /usr/local/src/pcap4j && mvn -P distribution-assembly install 2>&1 | tee build.log

Expand Down

0 comments on commit 8cf5a16

Please sign in to comment.