Due to TARGETOS being used in Dockerfile to obtain the robonomics binary from build context, the build script should pass it. Currently, it fails with an error following.
...
Step 13/18 : COPY $TARGETARCH/robonomics /usr/local/bin
COPY failed: file not found in build context or excluded by .dockerignore: stat robonomics: file does not exist
This PR adds passing TARGETOS to the docker build.
Also, the build script copies the robonomics binary to the build context, but cleanup fails due to its path is not the same as the copying path. This PR fixes it too.
Due to
TARGETOS
being used inDockerfile
to obtain therobonomics
binary from build context, the build script should pass it. Currently, it fails with an error following.This PR adds passing
TARGETOS
to the docker build.Also, the build script copies the
robonomics
binary to the build context, but cleanup fails due to its path is not the same as the copying path. This PR fixes it too.