add dockerfile for openjdk building (and testing)

This commit is contained in:
Joshua Warner 2014-05-09 14:03:52 -07:00
parent 2971759d6e
commit a12b4c757a

17
docker/openjdk/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM joshuawarner32/avian-build-i386
MAINTAINER Joshua Warner, joshuawarner32@gmail.com
RUN echo 'deb-src http://http.debian.net/debian jessie main' >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y \
libcups2-dev \
libgconf2-dev && \
mkdir /var/openjdk/ && \
cd /var/openjdk/ && \
apt-get source openjdk-7 && \
apt-get clean all && \
rm /var/openjdk/*.gz /var/openjdk/*.dsc && \
cd /var/openjdk/ && \
tar -xzf /var/openjdk/openjdk*/jdk.tar.gz && \
mv /var/openjdk/jdk-*/src /var/openjdk-src && \
rm -rf /var/openjdk