mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
Add basic dockerfile for avian build
This commit is contained in:
parent
5beb148df3
commit
50bca071b2
19
Dockerfile
Normal file
19
Dockerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user