Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on ARM #29

Open
dm-coding opened this issue Nov 1, 2015 · 1 comment
Open

Cannot build on ARM #29

dm-coding opened this issue Nov 1, 2015 · 1 comment

Comments

@dm-coding
Copy link

Hi there,

I am trying to build your docker file for arm but I get an exec format error.

root@daedalus ~/docktorrent# docker build -t docktorrent .
Sending build context to Docker daemon 152.6 kB
Sending build context to Docker daemon
Step 0 : FROM debian:jessie
---> 6845b83c79fb
Step 1 : MAINTAINER kfei [email protected]
---> Using cache
---> fa71ef7a7133
Step 2 : ENV VER_LIBTORRENT 0.13.4
---> Using cache
---> 661be5f9a8f3
Step 3 : ENV VER_RTORRENT 0.9.4
---> Using cache
---> a586fbecf3af
Step 4 : WORKDIR /usr/local/src
---> Using cache
---> 9ab77c418524
Step 5 : RUN build_deps="automake build-essential ca-certificates libc-ares-dev libcppunit-dev libtool"; build_deps="${build_deps} libssl-dev libxml2-dev libncurses5-dev pkg-config subversion wget"; set -x && apt-get update && apt-get install -q -y --no-install-recommends ${build_deps} && wget http://curl.haxx.se/download/curl-7.39.0.tar.gz && tar xzvfp curl-7.39.0.tar.gz && cd curl-7.39.0 && ./configure --enable-ares --enable-tls-srp --enable-gnu-tls --with-zlib --with-ssl && make && make install && cd .. && rm -rf curl-* && ldconfig && svn --trust-server-cert checkout https://svn.code.sf.net/p/xmlrpc-c/code/stable/ xmlrpc-c && cd xmlrpc-c && ./configure --enable-libxml2-backend --disable-abyss-server --disable-cgi-server && make && make install && cd .. && rm -rf xmlrpc-c && ldconfig && wget -O libtorrent-$VER_LIBTORRENT.tar.gz https://github.com/rakshasa/libtorrent/archive/$VER_LIBTORRENT.tar.gz && tar xzf libtorrent-$VER_LIBTORRENT.tar.gz && cd libtorrent-$VER_LIBTORRENT && ./autogen.sh && ./configure --with-posix-fallocate && make && make install && cd .. && rm -rf libtorrent-* && ldconfig && wget -O rtorrent-$VER_RTORRENT.tar.gz https://github.com/rakshasa/rtorrent/archive/$VER_RTORRENT.tar.gz && tar xzf rtorrent-$VER_RTORRENT.tar.gz && cd rtorrent-$VER_RTORRENT && ./autogen.sh && ./configure --with-xmlrpc-c --with-ncurses && make && make install && cd .. && rm -rf rtorrent-* && ldconfig && mkdir -p /usr/share/nginx/html && cd /usr/share/nginx/html && mkdir rutorrent && curl -L -O https://github.com/Novik/ruTorrent/archive/master.tar.gz && tar xzvf master.tar.gz -C rutorrent --strip-components 1 && rm -rf *.tar.gz && RUN apt-get update && apt-get install -q -y --no-install-recommends apache2-utils libc-ares2 nginx php5-cli php5-fpm
---> Running in 23362f9d47a6
INFO[0002] [8] System error: exec format error

I'm a little new to Docker and not sure what I can do to prevent that.

@ypid
Copy link
Contributor

ypid commented Nov 1, 2015

The base image debian:jessie is amd64. Checkout jchaney/owncloud#31.
Try it with this #27 branch in case the self compiling in master takes to long or does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants