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

Modbus go mapper error #8

Open
beyondyinjl2 opened this issue Jan 15, 2021 · 2 comments
Open

Modbus go mapper error #8

beyondyinjl2 opened this issue Jan 15, 2021 · 2 comments

Comments

@beyondyinjl2
Copy link

sudo docker build -t modbusmapper:v1.0 ./pkg/modbus

Sending build context to Docker daemon 52.74kB
Step 1/6 : FROM ubuntu:16.04
---> 9499db781771
Step 2/6 : RUN mkdir -p kubeedge
---> Running in b680bf86b7e1
Removing intermediate container b680bf86b7e1
---> e88ad3020b46
Step 3/6 : COPY ./modbus kubeedge/
COPY failed: stat /var/lib/docker/tmp/docker-builder170465191/modbus: no such file or directory

not modbus dir

@applea9
Copy link

applea9 commented Jan 26, 2021

you should compile & build modbus mapper brefore you build docker image.

This project has provided makefile, please follow the below steps:

make modbusmapper
make modbusmapper_image

@RyanZhaoXB
Copy link
Collaborator

please build a binary file for the modbus mapper first.

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

3 participants