Skip to content

Commit 50bae4c

Browse files
authored
Fix arrow/parquet version updates (#1034)
1 parent 6de8a5a commit 50bae4c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/dockerfiles/runtime/Dockerfile.deps-al2023

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:2023 as dependencies
33
# Create sysroot directory and install minimal runtime dependencies
44
RUN mkdir /sysroot && \
55
dnf install -y https://packages.apache.org/artifactory/arrow/amazon-linux/$(cut -d: -f6 /etc/system-release-cpe)/apache-arrow-release-latest.rpm && \
6+
# grab install version from apache-arrow-release and extract without periods 22.0.0 --> 2200 to conform with arrow/parquet version libs
7+
ARROW_VERSION=$(dnf info apache-arrow-release | awk '/^Version/ {split($3, v, "."); printf "%d%02d", v[1], v[2]}') && \
68
dnf --releasever=$(rpm -q system-release --qf '%{VERSION}') \
79
--installroot /sysroot \
810
-y \
@@ -12,8 +14,8 @@ RUN mkdir /sysroot && \
1214
systemd-libs \
1315
openssl-libs \
1416
cyrus-sasl-lib \
15-
arrow2100-glib-libs \
16-
parquet2100-glib-libs \
17+
arrow${ARROW_VERSION}-glib-libs \
18+
parquet${ARROW_VERSION}-glib-libs \
1719
libstdc++ \
1820
curl
1921

0 commit comments

Comments
 (0)