We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c540151 + 724f549 commit a859973Copy full SHA for a859973
templates/jlink/jlink-builder/jlink-builder-template.yaml
@@ -30,6 +30,15 @@ objects:
30
FROM -
31
USER 0
32
RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-${JDK_VERSION}-openjdk-jmods
33
+ RUN mkdir -p /mnt/jrootfs
34
+ RUN microdnf install --installroot /mnt/jrootfs --releasever 9 --setopt install_weak_deps=0 --nodocs -y \
35
+ --config=/etc/dnf/dnf.conf \
36
+ --noplugins \
37
+ --setopt=cachedir=/var/cache \
38
+ --setopt=reposdir=/etc/yum.repos.d \
39
+ --setopt=varsdir=/etc/dnf/vars \
40
+ grep gawk
41
+ RUN rm -rf /mnt/jrootfs/var/cache/* /mnt/jrootfs/var/lib/rpm /mnt/jrootfs/var/lib/dnf
42
USER 185
43
strategy:
44
dockerStrategy:
0 commit comments