{"id":21612283,"url":"https://github.com/anapsix/docker-alpine-java","last_synced_at":"2025-04-13T00:46:34.799Z","repository":{"id":34781605,"uuid":"38764670","full_name":"anapsix/docker-alpine-java","owner":"anapsix","description":"Oracle Java8 over AlpineLinux with glibc 2.29","archived":false,"fork":false,"pushed_at":"2019-09-18T09:13:34.000Z","size":313,"stargazers_count":727,"open_issues_count":6,"forks_count":282,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-04-13T00:46:27.334Z","etag":null,"topics":["alpine","alpinelinux","container","dcevm","docker","java"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/anapsix/alpine-java/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anapsix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-08T16:03:45.000Z","updated_at":"2025-02-12T19:52:10.000Z","dependencies_parsed_at":"2022-09-15T06:41:26.593Z","dependency_job_id":null,"html_url":"https://github.com/anapsix/docker-alpine-java","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anapsix%2Fdocker-alpine-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anapsix%2Fdocker-alpine-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anapsix%2Fdocker-alpine-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anapsix%2Fdocker-alpine-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anapsix","download_url":"https://codeload.github.com/anapsix/docker-alpine-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650434,"owners_count":21139672,"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":["alpine","alpinelinux","container","dcevm","docker","java"],"created_at":"2024-11-24T21:17:46.057Z","updated_at":"2025-04-13T00:46:34.772Z","avatar_url":"https://github.com/anapsix.png","language":"Dockerfile","readme":"## Minified Docker image with Java\n\n[![Docker Pulls](https://img.shields.io/docker/pulls/anapsix/alpine-java.svg?style=round-square)](https://hub.docker.com/r/anapsix/alpine-java/)\n[![](https://images.microbadger.com/badges/image/anapsix/alpine-java:latest.svg)](https://microbadger.com/images/anapsix/alpine-java:latest)\n[![Build Status](https://travis-ci.org/anapsix/docker-alpine-java.svg?branch=master)](https://travis-ci.org/anapsix/docker-alpine-java)\n\nBasic [Docker](https://www.docker.com/) image to run [Java](https://www.java.com/) applications.\nThis image is based on [AlpineLinux](http://alpinelinux.org/) to keep the size down, yet smaller images do exist.\nIncludes BASH, since many Java applications like to have convoluted BASH start-up scripts.\n\n### DEPRECATION DUE TO ORACLE JAVA LICENSING CHANGE\n\n\u003e Thank you to everyone using images derived from this repo, to everyone who inspired and contributed.\n\u003e After April 2019, due to Oracle Java licensing changes, this repo is deprecated, and is now for reference only.\n\u003e No new builds will be published to `anapsix/alpine-java` repo on Docker Hub from this Github repo.\n\nAs announced, Java licensing changed, and starting April 2019 commercial usage of Oracle Java required subscription.\nIn other words, switch to OpenJDK, or use older versions of Oracle Java (for reference, pre-built images are available on [Docker Hub](https://hub.docker.com/r/anapsix/alpine-java/))\n\nOfficial OpenJDK images receive regular updates, and are available at https://hub.docker.com/_/openjdk, including `8-jre-alpine` (85MB), `8-jdk-alpine` (105MB), `8-jre-slim` (204MB), `8-jdk-slim` (243MB), `8u212-jre-slim` (204MB), `8u212-jdk-slim` (243MB), etc..\n\nFor more details about Oracle Java Licensing, checkout this article: https://medium.com/@javachampions/java-is-still-free-2-0-0-6b9aa8d6d244\n\nTL;DR\n\u003e Oracle JDK 8 is going through the “End of Public Updates” process, which means the April 2019 update will restrict commercial use. However, since Java SE 9, Oracle is also providing Oracle OpenJDK builds which are free for commercial use (but only updated for 6 months). There are also free OpenJDK builds which will be updated (including security patches) from other providers like AdoptOpenJDK, Amazon, Azul, BellSoft, IBM, jClarity, Red Hat, the Linux distros et al.\n\nAnd many others talking about Oracle Java SE licensing changes ([Google search](https://www.google.com/search?q=java+oracle+license))\n\n### Versions/tags\n\n| software     | version      |\n|--------------|--------------|\n| alpine       | `3.8`        |\n| glibc        | `2.29-r0`    |\n| java 8       | `8u202b08`   |\n\n#### MAJOR TAGGING UPDATE\nTo allow selection of specific Java version, a **major retagging is taking place**.\nOld tags will remain for compatibility sake, but are no longer documented.\n`:8`,`:7` and `:latest` are all valid, but are not \"locked\" to any specific Java version / patch set - i.e. depending on when you pull the `:8` tagged image, for example, you might end up with `8u102b14`, `8u112b15`, `8u121b13`, etc..\nWell, `:7` no as much, since it's EOL and no more patches are released.\n\nHowever specific `:8uXXXbYY` tags (such as `:8u102b14`, `:8u112b15`) will guarantee particular MAJOR-MINOR-BUILD Java versions.\n\n#### JCE Policy\nSpecial `_unlimited` images are available with Unlimited JCE Policy\n\n**Early Release MUSL JRE9 / JDK9**: `9 / 9_jdk`\n**Latest JRE8/JDK8 Version**: `8u202b08`\n**Latest JRE7/JDK7 Version**: `7u80b15` - no longer buildable, as Oracle provides no downloadable packages.\n**JDK8/JDK7 Versions with alternative JVM - [DCEVM](https://dcevm.github.io/)**: `light-8u112` / `full-7u80`\n\n### Tags\n\nLatest Oracle Java 8 Server-JRE:\n* `latest`\n* `8`\n* `8_nashorn`\n* `8_server-jre`\n* `8_server-jre_nashorn`\n* `8_server-jre_unlimited`\n\nLatest Oracle Java 8 JDK (plus DCEVM variant)\n* `8_jdk`\n* `8_jdk_nashorn`\n* `8_jdk_unlimited`\n* `8_jdk-dcevm`\n* `8_jdk-dcevm_unlimited`\n\nLatest Oracle Java 7 Server-JRE:\n* `7`\n* `7_server-jre`\n\nLatest Oracle Java 7 JDK (plus DCEVM variant):\n* `7_jdk`\n* `7_jdk-dcevm`\n\n\n### Usage\n\nExample:\n\n    docker run -it --rm anapsix/alpine-java java -version\n\n\n### Disclaimer\n\nBy using Dockerfiles contained in this repo and/or container images derived from them, you are agreeing to any and all applicable software licences, license agreements \u0026 export rules related to unlimited strength crypto, etc..\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanapsix%2Fdocker-alpine-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanapsix%2Fdocker-alpine-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanapsix%2Fdocker-alpine-java/lists"}