Meta tags:
description= Base docker image for JRE-based containers. Contribute to hypertrace/docker-java-base development by creating an account on GitHub.;
Headings (most frequently used words):
navigation, dockerfile, file, breadcrumbs, footer, menu, repository, filesexpand, tree, latest, commit, history, metadata, and, controls,
Text of the page (most frequently used words):
java (29), usr (18), lib (18), the (16), zulu (15), jdk (15), from (14), base (14), and (13), github (12), for (12), run (11), jvm (10), bin (9), security (8), linux (8), gnu (8), copy (7), arg (7), file (7), slim (6), certs (6), build (6), with (6), tar (6), code (6), env (5), jfr (5), jre (5), ssl (5), targetarch (5), aarch64 (5), libjemalloc (5), apt (5), management (5), actions (5), docker (5), you (4), java_home (4), image (4), libz (4), busybox (4), x86_64 (4), debian (4), debug (4), agent (4), path (4), tmp (4), java_version (4), zulu_arch (4), azul (4), raw (4), your (4), support (4), copilot (4), docs (3), navigation (3), builder (3), base_image (3), arm64 (3), stage (3), amd64 (3), update (3), blocked (3), one (3), jlink (3), unsupported (3), zulu_sha256 (3), get (3), 120 (3), 101 (3), blame (3), dockerfile (3), main (3), history (3), more (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), sign (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), all (3), that (2), not (2), community (2), status (2), footer (2), 2026 (2), jar (2), etc (2), ld_preload (2), change (2), default (2), memory (2), allocator (2), jemalloc (2), test (2), already (2), present (2), shell (2), install (2), trixie (2), out (2), fixed (2), net (2), http (2), unsafe (2), use (2), certificates (2), naming (2), dns (2), zookeeper (2), different (2), layer (2), but (2), log4j2 (2), desktop (2), which (2), used (2), add (2), modules (2), files (2), strip (2), https (2), com (2), linux_ (2), echo (2), curl (2), cdn (2), zulu_sha256_arm64 (2), zulu_sha256_amd64 (2), version (2), openjdk (2), tag (2), fix (2), download (2), 107 (2), see (2), lines (2), loc (2), breadcrumbs (2), latest (2), insights (2), projects (2), repository (2), hypertrace (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), can, perform, action, this, time, share, personal, information, manage, cookies, contact, privacy, terms, inc, entrypoint, set, final, dev, gcr, distroless, debian13, extract, grep, 7ba62fec54e9d040556fca70a6a88f03761c178fa1f7cb8390a73076849f55a2, 7ba62fec, fingerprints, added, cycle, release, fail, blocklist, did, make, through, output, zipfs, zip, systems, built, client, specific, network, options, sun, misc, friends, auth, jgss, required, hadoop, filesystem, crypto, tls, handehake, servers, elliptic, curve, non, netty, based, needs, adding, 900k, 200m, prevents, needing, kafka, live, monitoring, adds, 1mb, size, metrics, such, garbage, collection, jdwp, remote, don, jmx, errors, without, 716, instrument, instrumentation, sql, includes, beans, spring, logging, header, man, pages, compress, improve, performance, undocumented, contains, several, dependencies, included, cherrypicked, oracle, javase, api, xzf, mkdir, sha256sum, fssl, esac, arch, exit, x64, case, upgrade, libssl3, binutils, needed, b348c48a53d9f96f0968a20d8c4d65a29a23c36c16461622aa3e18f6db8df772, 9394707fa2ede9929cee172bc0ac5b7cfe9f6af35e5768bf974515a3faa39c67, these, together, temp, back, once, publishes, runs, must, straight, sha, 256, pins, copies, has, emudhra, yet, fetch, name, zulu11, jdk11, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 106, 105, 104, 103, 102, 100, edit, open, symbols, panel, metadata, controls, top, commit, expand, tree, items, pull, requests, issues, message, dismiss, alert, switched, accounts, appearance, settings, search, pricing, event, talks, workshops, what, next, partners, about, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, businesses, source, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, tasks, automated, work, hosting, review, collaboration, platform, menu, skip, content,
Text of the page (random words):
docker java base java 11 dockerfile at main hypertrace docker java base github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message hypertrace docker java base repository navigation code issues pull requests 4 4 actions projects security and quality insights more items files expand file tree main breadcrumbs docker java base java 11 dockerfile copy path blame more file actions blame more file actions latest commit history history history 120 lines 101 loc 4 3 kb main breadcrumbs docker java base java 11 dockerfile copy path top file metadata and controls code blame 120 lines 101 loc 4 3 kb raw copy raw file download raw file open symbols panel edit and raw actions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 zulu build name e g zulu11 54 107 ca jdk11 0 13 see java version arg java_version arg base_image the azul zulu openjdk debian image has no tag with the emudhra blocked certs fix yet so fetch the zulu ca build straight from azul s cdn the sha 256 pins the download jlink copies blocked certs from the jdk it runs so it must be the fixed one temp go back to azul zulu openjdk debian once it publishes a tag with the fix from debian trixie slim as jre arg java_version arg targetarch update these together with java version arg zulu_sha256_amd64 9394707fa2ede9929cee172bc0ac5b7cfe9f6af35e5768bf974515a3faa39c67 arg zulu_sha256_arm64 b348c48a53d9f96f0968a20d8c4d65a29a23c36c16461622aa3e18f6db8df772 needed for strip debug run apt get y update apt get y upgrade libssl3 apt get y install binutils curl ca certificates run case targetarch in amd64 zulu_arch x64 zulu_sha256 zulu_sha256_amd64 arm64 zulu_arch aarch64 zulu_sha256 zulu_sha256_arm64 echo unsupported arch targetarch 2 exit 1 esac curl fssl o tmp zulu tar gz https cdn azul com zulu bin java_version linux_ zulu_arch tar gz echo zulu_sha256 tmp zulu tar gz sha256sum c mkdir p usr lib jvm tar xzf tmp zulu tar gz c usr lib jvm ln s usr lib jvm java_version linux_ zulu_arch usr lib jvm zulu rm tmp zulu tar gz env java_home usr lib jvm zulu env path java_home bin path included modules cherrypicked from https docs oracle com en java javase 11 docs api jdk unsupported is undocumented but contains unsafe which is used by several dependencies to improve performance run cd jlink no header files no man pages compress 0 strip debug add modules java base java logging java desktop includes java beans which is used by spring java desktop java sql instrumentation java instrument we don t use jmx but log4j2 errors without it log4j2 716 java management remote debug jdk jdwp agent jvm metrics such as garbage collection jdk management jfr for live monitoring adds 1mb to size jdk jfr jdk management jfr prevents us from needing a different base layer for kafka zookeeper zookeeper needs jdk management agent and adding it is 900k vs 200m for a different base layer jdk management agent non netty based dns java naming jdk naming dns tls handehake with servers that use elliptic curve certificates jdk crypto ec required for hadoop filesystem java security jgss jdk security auth sun misc unsafe and friends jdk unsupported jdk specific network options jdk net built in http client java net http zip jar file systems jdk zipfs output jre fail the build if the fixed blocklist did not make it through jlink 7ba62fec is one of the fingerprints added by the 2026 10 21 out of cycle release run grep q 7ba62fec54e9d040556fca70a6a88f03761c178fa1f7cb8390a73076849f55a2 jre lib security blocked certs extract java ssl certs from gcr io distroless java base debian13 debug as ssl from debian trixie slim as builder run apt update apt install y libjemalloc dev stage for amd64 from base_image as base amd64 shell busybox sh c run ln s busybox sh bin sh libz so 1 is already present in the base image run test e lib x86_64 linux gnu libz so 1 change default memory allocator to jemalloc copy from builder usr lib x86_64 linux gnu libjemalloc usr lib x86_64 linux gnu env ld_preload usr lib x86_64 linux gnu libjemalloc so stage for arm64 from base_image as base arm64 shell busybox sh c run ln s busybox sh bin sh libz so 1 is already present in the base image run test e lib aarch64 linux gnu libz so 1 change default memory allocator to jemalloc copy from builder usr lib aarch64 linux gnu libjemalloc usr lib aarch64 linux gnu env ld_preload usr lib aarch64 linux gnu libjemalloc so final image arg targetarch from base targetarch copy from ssl etc ssl certs java etc ssl certs java copy from jre jre usr lib jvm zulu 11 slim run ln s usr lib jvm zulu 11 slim bin java usr bin java run ln s usr lib jvm zulu 11 slim bin jfr usr bin jfr set java_home env java_home usr lib jvm zulu 11 slim entrypoint usr bin java jar footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|