{"id":18597739,"url":"https://github.com/aem-design/docker-centos-java-buildpack","last_synced_at":"2025-05-16T14:09:54.256Z","repository":{"id":54041714,"uuid":"205076319","full_name":"aem-design/docker-centos-java-buildpack","owner":"aem-design","description":"centos image for use in all pipeline build activities","archived":false,"fork":false,"pushed_at":"2021-11-15T00:29:41.000Z","size":194,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-17T23:45:52.757Z","etag":null,"topics":["automation","best-practices","buildpack","centos","devops","java"],"latest_commit_sha":null,"homepage":"http://aem.design","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aem-design.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"maxbarrass","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-08-29T03:53:51.000Z","updated_at":"2021-11-15T00:29:43.000Z","dependencies_parsed_at":"2022-08-13T06:11:01.998Z","dependency_job_id":null,"html_url":"https://github.com/aem-design/docker-centos-java-buildpack","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Fdocker-centos-java-buildpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Fdocker-centos-java-buildpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Fdocker-centos-java-buildpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem-design%2Fdocker-centos-java-buildpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aem-design","download_url":"https://codeload.github.com/aem-design/docker-centos-java-buildpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254544159,"owners_count":22088808,"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":["automation","best-practices","buildpack","centos","devops","java"],"created_at":"2024-11-07T01:29:15.817Z","updated_at":"2025-05-16T14:09:54.232Z","avatar_url":"https://github.com/aem-design.png","language":"Dockerfile","funding_links":["https://patreon.com/maxbarrass"],"categories":[],"sub_categories":[],"readme":"## CentOS 8 with Java Build Pack\n\n[![build](https://github.com/aem-design/docker-centos-java-buildpack/actions/workflows/build.yml/badge.svg?branch=jdk8)](https://github.com/aem-design/docker-centos-java-buildpack/actions/workflows/build.yml)[![github license](https://img.shields.io/github/license/aem-design/centos-java-buildpack)](https://github.com/aem-design/centos-java-buildpack)\n[![github license](https://img.shields.io/github/license/aem-design/centos-java-buildpack)](https://github.com/aem-design/centos-java-buildpack)\n[![github issues](https://img.shields.io/github/issues/aem-design/centos-java-buildpack)](https://github.com/aem-design/centos-java-buildpack)\n[![github last commit](https://img.shields.io/github/last-commit/aem-design/centos-java-buildpack)](https://github.com/aem-design/centos-java-buildpack)\n[![github repo size](https://img.shields.io/github/repo-size/aem-design/centos-java-buildpack)](https://github.com/aem-design/centos-java-buildpack)\n[![docker stars](https://img.shields.io/docker/stars/aemdesign/centos-java-buildpack)](https://hub.docker.com/r/aemdesign/centos-java-buildpack)\n[![docker pulls](https://img.shields.io/docker/pulls/aemdesign/centos-java-buildpack)](https://hub.docker.com/r/aemdesign/centos-java-buildpack)\n[![github release](https://img.shields.io/github/release/aem-design/centos-java-buildpack)](https://github.com/aem-design/centos-java-buildpack)\n\nDocker image based on CentOS 8 with Java 8 and build tools.\n\n### Included Packages\n\nFollowing is the list of packages included\n\n| Package       | Version      | Notes                                                          |\n| ------------- | ------------ | -------------------------------------------------------------- |\n| nvm           | v0.37.2      | node version manager - for building node sub projects          |\n| node          | 12.19.0      | node - for managing node version                               |\n| chrome driver | 88.0.4324.96 | for headless testing                                           |\n| mvn           | 3.6.1        | maven - for build process                                      |\n| java          | 1.8           | aemdesign/oracle-jdk:jdk8 - Oracle Java version 8 JDK |\n| docker        |              | for running docker commands on docker hosts                    |\n\n### Manual JDK Download Test\n\n```bash\nexport JAVA_VERSION_TIMESTAMP=\"2133151\" \u0026\u0026 \\\nexport JAVA_DOWNLOAD_URL=\"http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\" \u0026\u0026 \\\n    export AUTO_JDKURLINFO=$(curl -Ls ${JAVA_DOWNLOAD_URL} | grep -m1 jdk\\-8u.*\\-linux\\-x64\\.rpm ) \u0026\u0026 \\\n    echo AUTO_JDKURLINFO=$AUTO_JDKURLINFO \u0026\u0026 \\\n    AUTO_JDKURL=$(echo ${AUTO_JDKURLINFO} | sed -e 's/.*\"filepath\":\"\\(.*\\)\",\"MD5\":.*/\\1/g') \u0026\u0026 \\\n    AUTO_JDKMD5=$(echo ${AUTO_JDKURLINFO} | sed -e 's/.*\"MD5\":\"\\(.*\\)\",\"SHA256\":.*/\\1/g' )  \u0026\u0026 \\\n    AUTO_JDKFILE=$(echo ${AUTO_JDKURL} | sed 's,^[^ ]*/,,' ) \u0026\u0026 \\\n    echo JAVA_VERSION_TIMESTAMP=$JAVA_VERSION_TIMESTAMP \u0026\u0026 \\\n    echo JAVA_DOWNLOAD_URL=$JAVA_DOWNLOAD_URL \u0026\u0026 \\\n    echo AUTO_JDKURL=$AUTO_JDKURL \u0026\u0026 \\\n    echo AUTO_JDKMD5=$AUTO_JDKMD5 \u0026\u0026 \\\n    echo AUTO_JDKFILE=$AUTO_JDKFILE\n```\n\n### Run dev container in a path\n\nUse these commands to run container in cyour current path.\n\n#### JDK 8\n\n```bash\ndocker run --rm -it --name dev-jdk8 -v `pwd`:/build/source -v ${HOME}/.m2:/build/.m2 -v /var/run/docker.sock:/var/run/docker.sock -p 3001:3001 -e M2_HOME=/build/.m2 -w /build/source -e AEM_HOST=host.docker.internal --net=host aemdesign/centos-java-buildpack:jdk8 /bin/bash --login\n```\n\n#### JDK 11\n\n```bash\ndocker run --rm -it --name dev-jdk11 -v `pwd`:/build/source -v ${HOME}/.m2:/build/.m2 -v /var/run/docker.sock:/var/run/docker.sock -e M2_HOME=/build/.m2 -w /build/source -e AEM_HOST=host.docker.internal --net=host aemdesign/centos-java-buildpack:jdk11 /bin/bash --login\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faem-design%2Fdocker-centos-java-buildpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faem-design%2Fdocker-centos-java-buildpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faem-design%2Fdocker-centos-java-buildpack/lists"}