Last active
August 6, 2018 15:51
-
-
Save bellflower2015/6be92a050d61422780fa055a9b5667a3 to your computer and use it in GitHub Desktop.
bitzenyplus-yespower-0.5:xenial Dockerfile
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
# | |
# docker build --tag bitzenyplus-yespower-0.5:xenial --cpuset-cpus="0,1" -f Dockerfile . | |
# | |
FROM ubuntu:xenial | |
RUN apt update -qq \ | |
&& apt upgrade -qq -y \ | |
&& apt install -qq -y \ | |
build-essential \ | |
libtool \ | |
autotools-dev \ | |
automake \ | |
pkg-config \ | |
bsdmainutils \ | |
curl \ | |
git \ | |
g++-mingw-w64-x86-64 \ | |
&& update-alternatives \ | |
--set x86_64-w64-mingw32-g++ \ | |
/usr/bin/x86_64-w64-mingw32-g++-posix \ | |
&& git clone \ | |
-b v3.0-dev \ | |
--depth 1 \ | |
https://github.com/bitzenyPlus/BitZenyPlus.git \ | |
/BitZenyPlus | |
WORKDIR /BitZenyPlus/depends | |
RUN make HOST=x86_64-w64-mingw32 -j$(grep -c ^processor /proc/cpuinfo) | |
WORKDIR /BitZenyPlus | |
RUN ./autogen.sh \ | |
&& CONFIG_SITE=/BitZenyPlus/depends/x86_64-w64-mingw32/share/config.site \ | |
./configure \ | |
--disable-tests \ | |
&& make -j$(grep -c ^processor /proc/cpuinfo) \ | |
&& find src -name "*.exe" -exec x86_64-w64-mingw32-strip {} + \ | |
&& find src -name "*.exe" -exec ls -ahl {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment