HilscherAutomation / netPI-teamviewer

Sources of Dockerfile generated Docker image "Teamviewer" for Hilscher’s netPI
MIT License
2 stars 5 forks source link

COPY failed: no source files were specified #1

Open Marietto2008 opened 3 years ago

Marietto2008 commented 3 years ago

Hello.

I'm trying to run this docker container on the jetson nano / arm64 "platform" because I need to run teamviewer there. So,I've got the Dockerfile and I tried to build it on my jetson nano,but unfortunately it didn't work :

root@zi-desktop:~/Desktop/Docker-Images/netpi-teamviewer# docker build -t netpi-teamviewer .

Sending build context to Docker daemon 3.584kB Step 1/14 : FROM balenalib/armv7hf-debian:stretch ---> 9bee5def703c Step 2/14 : ARG BUILD_DATE ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in afae1c715672 Removing intermediate container afae1c715672 ---> c289ca8942ae Step 3/14 : ARG VCS_REF ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in c12202c0dc46 Removing intermediate container c12202c0dc46 ---> 0070ec2369cd Step 4/14 : LABEL org.label-schema.build-date=$BUILD_DATE org.label-schema.vcs-url="https://github.com/HilscherAutomation/netPI-teamviewer" org.label-schema.vcs-ref=$VCS_REF ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in 4cd17510eced Removing intermediate container 4cd17510eced ---> a1a9161e3dee Step 5/14 : RUN [ "cross-build-start" ] ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in 5fa06493ecea standard_init_linux.go:219: exec user process caused: no such file or directory The command 'cross-build-start' returned a non-zero code: 1

Marietto2008 commented 3 years ago

I've commented out the line "#RUN [ "cross-build-start" ]" as requested since I'm on the arm64 and I have enabled the arm32 libraries with : dpkg --add-architecture armhf and this is what happened :

Setting up teamviewer-host (14.1.9025) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Removing intermediate container 8c5fdc983764 ---> 1fa1b2eb8fe0 Step 10/13 : COPY "./init.d/*" /etc/init.d/ COPY failed: no source files were specified