<@U04S8PLJWMT> HOW to build docker image locally f...
# ask-ai
k
@kapa.ai HOW to build docker image locally foe server
k
To build the Airbyte server Docker image locally, use the Gradle build in the
airbyte-platform
repo, then (optionally) load it into `abctl`: 1. Clone the platform repo and enter it:
Copy code
bash git clone git@github.com:{YOUR_USERNAME}/airbyte-platform.git cd airbyte-platform
2. Build all platform artifacts (this includes the server image):
Copy code
bash ./gradlew build
This command “creates all the necessary artifacts (Jars and Docker images) so that you can run Airbyte locally.” [[Developing locally 1.8](https://docs.airbyte.com/platform/1.8/contributing-to-airbyte/developing-locally#platform-contributions)] 3. (Optional, for
abctl
local cluster) Load the server image into the kind cluster:
Copy code
bash kind load docker-image airbyte/server:dev --name airbyte-abctl
Then configure your
values.yaml
to use the
dev
tag and redeploy:
Copy code
yaml server:   image:     tag: dev
Copy code
bash abctl local install --values values.yaml
[[Developing locally 1.8](https://docs.airbyte.com/platform/1.8/contributing-to-airbyte/developing-locally#platform-contributions)]
A message from kapa.ai
To build the Airbyte server Docker image locally, use the
airbyte-platform
repo and Gradle: 1. Clone the
airbyte-platform
repository
and enter it:
Copy code
bash git clone git@github.com:{YOUR_USERNAME}/airbyte-platform.git cd airbyte-platform
[[Developing locally 1.8](https://docs.airbyte.com/platform/1.8/contributing-to-airbyte/developing-locally#platform-contributions)] 2. Build the platform (this builds the server image too):
Copy code
bash ./gradlew build
This command “creates all the necessary artifacts (Jars and Docker images) so that you can run Airbyte locally.” [[Developing locally 1.8](https://docs.airbyte.com/platform/1.8/contributing-to-airbyte/developing-locally#platform-contributions)] 3. (Optional, if you use
abctl
) Load the server image into the local kind cluster:
Copy code
bash kind load docker-image airbyte/server:dev --name airbyte-abctl
Then point your
abctl
deployment at the
dev
tag and redeploy:
Copy code
yaml server:   image:     tag: dev
Copy code
bash abctl local install --values values.yaml
[[Developing locally 1.8](https://docs.airbyte.com/platform/1.8/contributing-to-airbyte/developing-locally#platform-contributions)]
A message from kapa.ai
New message text here