All Projects → anapsix → Docker Alpine Java

anapsix / Docker Alpine Java

Licence: mit
Oracle Java8 over AlpineLinux with glibc 2.29

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Docker Alpine Java

docker-nfs4
Simple containerized NFS v4 server running on Alpine Linux
Stars: ✭ 19 (-97.3%)
Mutual labels:  alpine, container
docker-jre
Lean JRE 8 Docker container
Stars: ✭ 25 (-96.44%)
Mutual labels:  alpine, container
php7-alpine
Docker container for PHP 7 in Alpine Linux, with almost all extensions that you may need
Stars: ✭ 20 (-97.16%)
Mutual labels:  alpine, container
Cc Oci Runtime
OCI (Open Containers Initiative) compatible runtime for Intel® Architecture
Stars: ✭ 418 (-40.54%)
Mutual labels:  container
Nar
node.js application archive - create self-contained binary like executable applications that are ready to ship and run
Stars: ✭ 428 (-39.12%)
Mutual labels:  container
Nexclipper
Metrics Pipeline for interoperability and Enterprise Prometheus
Stars: ✭ 533 (-24.18%)
Mutual labels:  container
Atilo
Linux installer for termux
Stars: ✭ 629 (-10.53%)
Mutual labels:  alpine
Di
Dependency injection container in go (golang)
Stars: ✭ 390 (-44.52%)
Mutual labels:  container
Runtime
OCI (Open Containers Initiative) compatible runtime using Virtual Machines
Stars: ✭ 588 (-16.36%)
Mutual labels:  container
Liman
Self-hosted web application for monitoring docker.
Stars: ✭ 518 (-26.32%)
Mutual labels:  container
Awesome
🚀A curated list of awesome resources related to Alpine.
Stars: ✭ 502 (-28.59%)
Mutual labels:  alpine
Lucia
🙋‍♀️ 3kb library for tiny web apps
Stars: ✭ 439 (-37.55%)
Mutual labels:  alpine
Docker Atlassian Jira
Atlassian JIRA Core wrapped in a Docker image
Stars: ✭ 553 (-21.34%)
Mutual labels:  container
Alpine Magic Helpers
A collection of magic properties and helper functions for use with Alpine.js
Stars: ✭ 418 (-40.54%)
Mutual labels:  alpine
Docker4wordpress
Docker-based WordPress stack
Stars: ✭ 607 (-13.66%)
Mutual labels:  alpine
Tstl
TypeScript-STL (Standard Template Library, migrated from C++)
Stars: ✭ 397 (-43.53%)
Mutual labels:  container
Docker Php Nginx
Docker image with Nginx 1.18 & PHP-FPM 7.4 on Alpine Linux
Stars: ✭ 581 (-17.35%)
Mutual labels:  container
Seqbox
A single file container/archive that can be reconstructed even after total loss of file system structures
Stars: ✭ 480 (-31.72%)
Mutual labels:  container
Kraken
P2P Docker registry capable of distributing TBs of data in seconds
Stars: ✭ 4,849 (+589.76%)
Mutual labels:  container
Bastion
🔒Secure Bastion implemented as Docker Container running Alpine Linux with Google Authenticator & DUO MFA support
Stars: ✭ 531 (-24.47%)
Mutual labels:  alpine

Minified Docker image with Java

Docker Pulls Build Status

Basic Docker image to run Java applications. This image is based on AlpineLinux to keep the size down, yet smaller images do exist. Includes BASH, since many Java applications like to have convoluted BASH start-up scripts.

DEPRECATION DUE TO ORACLE JAVA LICENSING CHANGE

Thank you to everyone using images derived from this repo, to everyone who inspired and contributed. After April 2019, due to Oracle Java licensing changes, this repo is deprecated, and is now for reference only. No new builds will be published to anapsix/alpine-java repo on Docker Hub from this Github repo.

As announced, Java licensing changed, and starting April 2019 commercial usage of Oracle Java required subscription. In other words, switch to OpenJDK, or use older versions of Oracle Java (for reference, pre-built images are available on Docker Hub)

Official 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..

For more details about Oracle Java Licensing, checkout this article: https://medium.com/@javachampions/java-is-still-free-2-0-0-6b9aa8d6d244

TL;DR

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.

And many others talking about Oracle Java SE licensing changes (Google search)

Versions/tags

software version
alpine 3.8
glibc 2.29-r0
java 8 8u202b08

MAJOR TAGGING UPDATE

To allow selection of specific Java version, a major retagging is taking place. Old tags will remain for compatibility sake, but are no longer documented. :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.. Well, :7 no as much, since it's EOL and no more patches are released.

However specific :8uXXXbYY tags (such as :8u102b14, :8u112b15) will guarantee particular MAJOR-MINOR-BUILD Java versions.

JCE Policy

Special _unlimited images are available with Unlimited JCE Policy

Early Release MUSL JRE9 / JDK9: 9 / 9_jdk Latest JRE8/JDK8 Version: 8u202b08 Latest JRE7/JDK7 Version: 7u80b15 - no longer buildable, as Oracle provides no downloadable packages. JDK8/JDK7 Versions with alternative JVM - DCEVM: light-8u112 / full-7u80

Tags

Latest Oracle Java 8 Server-JRE:

  • latest
  • 8
  • 8_nashorn
  • 8_server-jre
  • 8_server-jre_nashorn
  • 8_server-jre_unlimited

Latest Oracle Java 8 JDK (plus DCEVM variant)

  • 8_jdk
  • 8_jdk_nashorn
  • 8_jdk_unlimited
  • 8_jdk-dcevm
  • 8_jdk-dcevm_unlimited

Latest Oracle Java 7 Server-JRE:

  • 7
  • 7_server-jre

Latest Oracle Java 7 JDK (plus DCEVM variant):

  • 7_jdk
  • 7_jdk-dcevm

Usage

Example:

docker run -it --rm anapsix/alpine-java java -version

Disclaimer

By 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 & export rules related to unlimited strength crypto, etc..

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].