Hi,
i change the Dockerfile to build on a RaspPi 3.
`FROM debian:stretch
RUN apt-get update && apt-get install -y
logrotate libmosquitto1 libstdc++6 libc6 libgcc1
curl
&& rm -rf /var/lib/apt/lists/*
LABEL maintainer "ebusd@ebusd.eu"
ENV EBUSD_VERSION 3.3
ENV EBUSD_ARCH armhf
LABEL version "${EBUSD_VERSION}-${EBUSD_ARCH}"
RUN curl -SL https://github.com/john30/ebusd/releases/download/v${EBUSD_VERSION}/ebusd-${EBUSD_VERSION}_${EBUSD_ARCH}-stretch_mqtt1.deb > ebusd.deb
RUN dpkg -i ebusd.deb
RUN rm ebusd.deb
EXPOSE 8888
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["-f", "--scanconfig"]`
my start command:
sudo docker run -it --rm --name=ebusd --device=/dev/ttyebus -p 8888 nightstorm99/ebusd -f --scanconfig -d /dev/ttyebus --mqttport=1883 --mqtthost=192.168.1.66
but then comes a error:
standard_init_linux.go:190: exec user process caused "exec format error"
any idea???
(sorry for my english)
greetings
Hi,
i change the Dockerfile to build on a RaspPi 3.
`FROM debian:stretch
RUN apt-get update && apt-get install -y
logrotate libmosquitto1 libstdc++6 libc6 libgcc1
curl
&& rm -rf /var/lib/apt/lists/*
LABEL maintainer "ebusd@ebusd.eu"
ENV EBUSD_VERSION 3.3
ENV EBUSD_ARCH armhf
LABEL version "${EBUSD_VERSION}-${EBUSD_ARCH}"
RUN curl -SL https://github.com/john30/ebusd/releases/download/v${EBUSD_VERSION}/ebusd-${EBUSD_VERSION}_${EBUSD_ARCH}-stretch_mqtt1.deb > ebusd.deb
RUN dpkg -i ebusd.deb
RUN rm ebusd.deb
EXPOSE 8888
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["-f", "--scanconfig"]`
my start command:
sudo docker run -it --rm --name=ebusd --device=/dev/ttyebus -p 8888 nightstorm99/ebusd -f --scanconfig -d /dev/ttyebus --mqttport=1883 --mqtthost=192.168.1.66but then comes a error:
standard_init_linux.go:190: exec user process caused "exec format error"
any idea???
(sorry for my english)
greetings