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.
1 parent c540151 commit ad2fe97Copy full SHA for ad2fe97
templates/jlink/jlink-builder/jlink-builder-template.yaml
@@ -29,7 +29,15 @@ objects:
29
dockerfile: |
30
FROM -
31
USER 0
32
- RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-${JDK_VERSION}-openjdk-jmods
+ RUN mkdir -p /mnt/jrootfs
33
+ RUN microdnf install --installroot /mnt/jrootfs --releasever 9 --setopt install_weak_deps=0 --nodocs -y java-${JDK_VERSION}-openjdk-jmods \
34
+ --config=/etc/dnf/dnf.conf \
35
+ --noplugins \
36
+ --setopt=cachedir=/var/cache \
37
+ --setopt=reposdir=/etc/yum.repos.d \
38
+ --setopt=varsdir=/etc/dnf/vars \
39
+ grep gawk
40
+ RUN rm -rf /mnt/jrootfs/var/cache/* /mnt/jrootfs/var/lib/rpm /mnt/jrootfs/var/lib/dnf
41
USER 185
42
strategy:
43
dockerStrategy:
0 commit comments