{"id":19429224,"url":"https://github.com/ehsaniara/bitbucket-util","last_synced_at":"2026-04-11T09:03:23.009Z","repository":{"id":103637298,"uuid":"232168880","full_name":"ehsaniara/bitbucket-util","owner":"ehsaniara","description":"Docker Image for Bitbucket CI/CD Pipeline Image with JAVA 11 (JDK)","archived":false,"fork":false,"pushed_at":"2020-05-15T23:05:50.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T05:30:55.978Z","etag":null,"topics":["aws-cli","bitbucket-ci","cd-pipeline","curl","docker","git","java","java11","kubernetes","maven","nodejs","ssh-client","unzip","wget"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ehsaniara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-06T19:19:55.000Z","updated_at":"2021-11-21T15:32:59.000Z","dependencies_parsed_at":"2023-06-07T13:45:30.686Z","dependency_job_id":null,"html_url":"https://github.com/ehsaniara/bitbucket-util","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ehsaniara/bitbucket-util","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsaniara%2Fbitbucket-util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsaniara%2Fbitbucket-util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsaniara%2Fbitbucket-util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsaniara%2Fbitbucket-util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehsaniara","download_url":"https://codeload.github.com/ehsaniara/bitbucket-util/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsaniara%2Fbitbucket-util/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266071519,"owners_count":23871940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-cli","bitbucket-ci","cd-pipeline","curl","docker","git","java","java11","kubernetes","maven","nodejs","ssh-client","unzip","wget"],"created_at":"2024-11-10T14:18:35.375Z","updated_at":"2025-10-24T03:03:02.458Z","avatar_url":"https://github.com/ehsaniara.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bitbucket CI/CD Pipeline Image with JAVA 11 (JDK)\nIncluded the following packages:\n\n- openjdk-11-jdk\n- AWS cli\n- Kubernetes\n- python3-pip\n- NodeJs\n- software-properties-common \n- build-essential \n- wget \n- curl \n- git \n- maven \n- ssh-client \n- unzip \n- iputils-ping\n\n\nThis is just an example for **bitbucket-pipelines.yml**\n```yaml\noptions:\n  docker: true\npipelines:\n  branches:\n    master:\n      - step:\n          name: Production Build on Master\n          image: ehsaniara/bitbucket-util:latest\n          trigger: automatic\n          script:\n            - mvn clean install\n```\n\nEasy to build your docker during the pipeline:\n```yaml\noptions:\n  docker: true\npipelines:\n  branches:\n    master:\n      - step:\n          name: Production Build on Master\n          image: ehsaniara/bitbucket-util:latest\n          trigger: automatic\n          script:\n            ...\n            - docker build -t ${YOUR_PUBLIC_DOCKER_REGISTRY_URL}:$TAG .\n            - docker push ${YOUR_PUBLIC_DOCKER_REGISTRY_URL}:$TAG\n            - docker tag ${YOUR_PUBLIC_DOCKER_REGISTRY_URL}:$TAG ${YOUR_PUBLIC_DOCKER_REGISTRY_URL}:$TAG\n            - docker push ${YOUR_PUBLIC_DOCKER_REGISTRY_URL}:$TAG\n           ...\n```\n\nEasy to run your CI/CD pipeline with Kubernetes:\n```yaml\noptions:\n  docker: true\npipelines:\n  branches:\n    master:\n      - step:\n          name: Production Build on Master\n          image: ehsaniara/bitbucket-util:latest\n          trigger: automatic\n          script:\n            ...\n            - kubectl config set-cluster ${KUBERNETES_PROVIDER_CLUSTER_NAME} --server=${KUBERNETES_PROVIDER_SERVER} --certificate-authority=\"$(pwd)/kube_ca\"\n            - kubectl config set-credentials bitbucket --token=\"$(cat ./kube_token)\"\n            - kubectl config set-context development --cluster=${KUBERNETES_PROVIDER_CLUSTER_NAME} --user=bitbucket # I assume you have already setup your K8s ServiceAccount\n            - kubectl config use-context development\n            ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsaniara%2Fbitbucket-util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehsaniara%2Fbitbucket-util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsaniara%2Fbitbucket-util/lists"}