airbyte-connectors
airbyte-connectors copied to clipboard
Can not run builded azure-repos-source docker image
I have changed something in the code of azure-repos-source locally on my machine and builded a docker image liked it is discribed here https://github.com/faros-ai/airbyte-connectors/tree/main/sources/azure-repos-source
If I try to run this image with docker run --rm azure-repo-source-modified spec
I am getting the following output:
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/home/node/airbyte/main": stat /home/node/airbyte/main: no such file or directory: unknown.
How can I fix this problem?
You probably did not package it correctly. See how we do it here - https://github.com/faros-ai/airbyte-connectors/blob/main/.github/workflows/release.yml#L93
@tovbinm How do I have to execute this exactly?
See instructions here - https://github.com/faros-ai/airbyte-connectors#build-docker-images
@tovbinm If I run the command with some random version number like
docker build . --build-arg path=sources/azure-repo-source --build-arg version=0.0.2 -t azure-repo-source:dev
the image get build but if I try to run that image I get
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/home/node/airbyte/main": stat /home/node/airbyte/main: no such file or directory: unknown.ERRO[0000] error waiting for container: context canceled
How exactly I can fix this?
Did you run "npm i" and "npm run build" prior to building the Docker?