jboss-dockerfiles/wildfly

run on Raspberry Pi Zero architecture arm6 don't work

Closed this issue · 1 comments

I use a Raspberry Pi Zero and with

docker run -p 8084:8080 -p 9990:9990 -it jboss/wildfly /opt/jboss/wildfly/bin/standalone.sh -bmanagement 0.0.0.

I run into this

standard_init_linux.go:190: exec user process caused "exec format error"

So I did a deeper look into it

$ uname -a
Linux door 4.14.98+ #1200 Tue Feb 12 20:11:02 GMT 2019 armv6l GNU/Linux

$ docker image inspect jboss/wildfly | grep Architecture
"Architecture": "amd64",

forked, cloned it and build by my own

docker build --rm=true --tag=hannesa2/wildfly .

image

This is the complete text:

The command '/bin/sh -c cd $HOME && curl -O https://download.jboss.org/wildfly/$WILDFLY_VERSION/wildfly-$WILDFLY_VERSION.tar.gz && sha1sum wildfly-$WILDFLY_VERSION.tar.gz | grep $WILDFLY_SHA1 && tar xf wildfly-$WILDFLY_VERSION.tar.gz && mv $HOME/wildfly-$WILDFLY_VERSION $JBOSS_HOME && rm wildfly-$WILDFLY_VERSION.tar.gz && chown -R jboss:0 ${JBOSS_HOME} && chmod -R g+rw ${JBOSS_HOME}' returned a non-zero code: 1

Does someone knows how to make it work on my Raspberry Pi Zero ?

I made a running docker image to run Wildfly on a Raspberry Pi Zero.

https://github.com/hannesa2/wildfly/tree/arm32v6

Please note the boot time of 947 seconds, these are 15 minutes !