Skip to content

Conversation

@3meeb
Copy link

@3meeb 3meeb commented Jul 16, 2025

# need python 3.11 and java 21
export PATH="/tmp/python-build:/usr/local/opt/openjdk@21/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
python --version
java -version

# configure python venv
rm -rf /Users/sergey/tx/metrics_audit/airbyte/airbyte-integrations/connectors/build/.venv
python3.11 -m pip install --user --upgrade virtualenv

# need docker host for macOS
#export DOCKER_HOST=unix:///Users/sergey/.docker/run/docker.sock
sudo ln -sf /Users/sergey/.docker/run/docker.sock /var/run/docker.sock

# build
docker rmi airbyte/destination-elasticsearch:dev
./gradlew :airbyte-integrations:connectors:destination-elasticsearch:build

# check
docker run --rm airbyte/destination-elasticsearch:dev spec

# upload
docker tag airbyte/destination-elasticsearch:dev ghcr.io/texturehq/airbyte/destination-elasticsearch:0.2.0-texture.1
docker tag airbyte/destination-elasticsearch:dev ghcr.io/texturehq/airbyte/destination-elasticsearch:latest
docker push ghcr.io/texturehq/airbyte/destination-elasticsearch:0.2.0-texture.1
docker push ghcr.io/texturehq/airbyte/destination-elasticsearch:latest

For amd64 architecture

docker buildx build --platform linux/amd64 --build-arg BASE_IMAGE=docker.io/airbyte/java-connector-base:2.0.2 --build-arg CONNECTOR_NAME=destination-elasticsearch -t airbyte/destination-elasticsearch:amd64 /Users/sergey/tx/metrics_audit/airbyte/airbyte-integrations/connectors/destination-elasticsearch/build/airbyte/docker/

docker tag airbyte/destination-elasticsearch:amd64 ghcr.io/texturehq/airbyte/destination-elasticsearch:0.2.0-texture.1
docker tag airbyte/destination-elasticsearch:amd64 ghcr.io/texturehq/airbyte/destination-elasticsearch:latest
docker push ghcr.io/texturehq/airbyte/destination-elasticsearch:0.2.0-texture.1
docker push ghcr.io/texturehq/airbyte/destination-elasticsearch:latest

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

Successfully merging this pull request may close these issues.

3 participants