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

COPY failed: no source files were specified #1

Open
Marietto2008 opened this issue May 5, 2021 · 1 comment
Open

COPY failed: no source files were specified #1

Marietto2008 opened this issue May 5, 2021 · 1 comment

Comments

@Marietto2008
Copy link

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
Copy link
Author

Marietto2008 commented May 5, 2021

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

@Marietto2008 Marietto2008 changed the title standard_init_linux.go:219: exec user process caused: no such file or directory COPY failed: no source files were specified May 5, 2021
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

1 participant