0.94 "stat /usr/local/Repetier-Server/bin/RepetierServer: no such file or directory"
Hi there,
I use the folowing dockerfile to run a secondary repetier server on a amd64 infrastructure. Worked fine since 0.86 but after switching to 0.94 it cannot find the /usr/local/Repetier-Server/bin/RepetierServer file anymore. I have found a arm related post regarding this, but that does not seem to help me with 64bit AMD:
I use the folowing dockerfile to run a secondary repetier server on a amd64 infrastructure. Worked fine since 0.86 but after switching to 0.94 it cannot find the /usr/local/Repetier-Server/bin/RepetierServer file anymore. I have found a arm related post regarding this, but that does not seem to help me with 64bit AMD:
RUN wget --output-document repetier-server.deb -q http://download.repetier.com/files/server/debian-amd64/Repetier-Server-0.94.1-Linux.deb \
&& dpkg --unpack repetier-server.deb \
&& rm -f repetier-server.deb \
# We do this to avoid failing on service installation.
&& rm -f /var/lib/dpkg/info/repetier-server.postinst \
&& apt-get -qqf install
RUN adduser --quiet --home /var/lib/Repetier-Server --system --disabled-login --ingroup dialout repetierserver \
&& adduser repetierserver tty
RUN rm -rf /var/lib/Repetier-Server \
&& ln -sf /data /var/lib/Repetier-Server
VOLUME "/data"
EXPOSE 3344
USER repetierserver
CMD [ "/usr/local/Repetier-Server/bin/RepetierServer", "-c", "/usr/local/Repetier-Server/etc/RepetierServer.xml" ]
The Container will not start then:
docker logs repetierserver-1
container_linux.go:265: starting container process caused "exec: \"/usr/local/Repetier-Server/bin/RepetierServer\": stat /usr/local/Repetier-Server/bin/RepetierServer: no such file or directory"
Any ideas?
Danke!
Comments
Have you tried calling something else as CMD and login with bash to see if the files are really not there or just have wrong permission?
BTW: How do you see the serial devices? Or is /dev automatically shared with docker images?
during image build it seems that it immediately gets uninstalled again ( see last two lines ):
seems like there is a new dependency to libusb-1.0-0 that was not met. Therefore it did not install properly.
So adding this worked fine: