Last active
May 13, 2018 17:13
-
-
Save hashbender/24008bb410fdcab01191af43038208e6 to your computer and use it in GitHub Desktop.
Dockerfile for Aion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Multistage docker build, requires docker 17.05 | |
# builder stage | |
FROM ubuntu:16.04 as builder | |
RUN apt-get update | |
RUN apt-get --no-install-recommends --yes install \ | |
ca-certificates \ | |
cmake \ | |
g++ \ | |
make \ | |
pkg-config \ | |
gcc \ | |
build-essential \ | |
git \ | |
curl \ | |
libtool-bin \ | |
autoconf \ | |
automake \ | |
wget \ | |
unzip | |
WORKDIR / | |
RUN git clone --recursive https://github.com/aionnetwork/aion | |
COPY docker/artifacts/jdk-10.0.1 /jdk-10.0.1 | |
RUN wget http://mirrors.sorengard.com/apache/ant/binaries/apache-ant-1.10.3-bin.zip | |
RUN unzip apache-ant-1.10.3-bin.zip -d /usr/local/ | |
RUN mv /usr/local/apache-ant-1.10.3 /usr/local/apache-ant | |
RUN ln -sfn /usr/local/apache-ant/bin/ant /usr/bin/ant | |
ENV ANT_OPTS=-Dfile.encoding=utf-8 | |
ENV JAVA_HOME=/jdk-10.0.1/ | |
WORKDIR /aion | |
RUN ant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment