Add basic dockerfile for avian build

This commit is contained in:
Joshua Warner 2014-04-21 18:52:23 -07:00
parent 5beb148df3
commit 50bca071b2

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM debian:jessie
MAINTAINER Joshua Warner, joshuawarner32@gmail.com
RUN apt-get update
# Install base dependencies and build tools, general debugging tools
RUN apt-get install -y build-essential g++-4.8 zlib1g-dev openjdk-7-jdk locales --no-install-recommends && apt-get clean all
# Fix utf-8 default locale - we'd otherwise have trouble with the Strings and Misc tests
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
# Set JAVA_HOME for avian's benefi
ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64
# Avian build location
VOLUME /var/avian
WORKDIR /var/avian