<@U04SE163WC8> How to apply source updates on loca...
# ask-ai
n
@kapa.ai How to apply source updates on local docker installation
u
To apply source updates on your local Docker installation, you need to update the connector image in your local registry. Here are the steps to do so: 1. Fork the [
airbyte
](https://github.com/airbytehq/airbyte) repository. 2. Clone the fork on your workstation:
Copy code
bash git clone [[email protected]](<https://docs.airbyte.com/cdn-cgi/l/email-protection>):{YOUR_USERNAME}/airbyte.git   cd airbyte
3. Make sure that
abctl
is running correctly with the following command
abctl local status
. Verify the status check was successful. 4. Build the connector image: - Verify the
airbyte-ci
tool is installed by running
airbyte-ci --help
, install the command with the instructions in the Prerequisites if the command is not found. - Run
airbyte-ci connectors --name source-<source-name> build
will build your connector image. - Once the command is done, you will find your connector image in your local docker host:
airbyte/source-<source-name>:dev
. 5. Verify the image was published locally by running:
Copy code
bash docker images ls | grep airbyte/source-<source-name>:dev
6. Load the newly built image into the
abctl
instance using:
Copy code
bash kind load docker-image airbyte/source-<source-name>:dev -n airbyte-abctl
7. In your browser, visit http://localhost:8000/ 8. Log in and go to
Settings
(gear icon in lower left corner) 9. Go to
Sources
or
Destinations
(depending on which connector you are testing) 10. Update the version number to use your docker image tag (default is
dev
) 11. Click
Change
to save the changes Now when you run a sync with that connector, it will use your local docker image. For more details, you can refer to the [Airbyte Documentation](https://docs.airbyte.com/contributing-to-airbyte/developing-locally#connector-contributions).