Skip to content

Commit c45fbfb

Browse files
committed
UBI8 -> UBI9 migration of Native Micro Dockerfile
(cherry picked from commit 8a28dfa)
1 parent 92a7144 commit c45fbfb

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

awt-graphics-rest-quickstart/src/main/docker/Dockerfile.native-micro

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@
1818
#
1919
# The `quay.io/quarkus/ubi9-quarkus-micro-image:2.0` base image is based on UBI 9.
2020
# To use UBI 8, switch to `quay.io/quarkus/quarkus-micro-image:2.0`.
21+
#
22+
# WARNING: Copying transitive dependencies is brittle, depends on the UBI version
23+
# and it's subject to change on the UBI side.
24+
#
2125
###
26+
2227
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5 as nativelibs
2328
RUN microdnf install -y freetype fontconfig expat
2429

@@ -32,9 +37,16 @@ COPY --from=nativelibs \
3237
/lib64/libbz2.so.1 \
3338
/lib64/libpng16.so.16 \
3439
/lib64/libm.so.6 \
35-
/lib64/libbz2.so.1 \
3640
/lib64/libexpat.so.1 \
3741
/lib64/libuuid.so.1 \
42+
/lib64/libxml2.so.2 \
43+
/lib64/libharfbuzz.so.0 \
44+
/lib64/libbrotlidec.so.1 \
45+
/lib64/libbrotlicommon.so.1 \
46+
/lib64/liblzma.so.5 \
47+
/lib64/libglib-2.0.so.0 \
48+
/lib64/libgraphite2.so.3 \
49+
/lib64/libpcre.so.1 \
3850
/lib64/
3951
COPY --from=nativelibs \
4052
/usr/lib64/libfontconfig.so.1 \

0 commit comments

Comments
 (0)