Skip to content

Commit e498099

Browse files
authored
Add support for Apache Arrow/Parquet for AL2023 (#988)
1 parent 2a22ab0 commit e498099

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

scripts/dockerfiles/build/Dockerfile.deps-al2023

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM public.ecr.aws/amazonlinux/amazonlinux:2023
22

33
RUN dnf upgrade -y && \
4+
dnf install -y https://packages.apache.org/artifactory/arrow/amazon-linux/$(cut -d: -f6 /etc/system-release-cpe)/apache-arrow-release-latest.rpm && \
45
dnf install -y \
56
glibc-devel \
67
libyaml-devel \
@@ -20,4 +21,6 @@ RUN dnf upgrade -y && \
2021
ca-certificates \
2122
flex \
2223
bison \
24+
arrow-glib-devel \
25+
parquet-glib-devel \
2326
&& dnf clean all

scripts/dockerfiles/runtime/Dockerfile.deps-al2023

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:2023 as dependencies
22

33
# Create sysroot directory and install minimal runtime dependencies
44
RUN mkdir /sysroot && \
5+
dnf install -y https://packages.apache.org/artifactory/arrow/amazon-linux/$(cut -d: -f6 /etc/system-release-cpe)/apache-arrow-release-latest.rpm && \
56
dnf --releasever=$(rpm -q system-release --qf '%{VERSION}') \
67
--installroot /sysroot \
78
-y \
@@ -11,6 +12,8 @@ RUN mkdir /sysroot && \
1112
systemd-libs \
1213
openssl-libs \
1314
cyrus-sasl-lib \
15+
arrow2100-glib-libs \
16+
parquet2100-glib-libs \
1417
libstdc++
1518

1619
# Final minimal runtime image using scratch base
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
FROM public.ecr.aws/amazonlinux/amazonlinux:2023
22

33
# Install runtime dependencies required for Fluent Bit and AWS plugins
4-
RUN dnf upgrade -y \
5-
&& dnf install -y openssl-devel \
4+
RUN dnf upgrade -y && \
5+
dnf install -y https://packages.apache.org/artifactory/arrow/amazon-linux/$(cut -d: -f6 /etc/system-release-cpe)/apache-arrow-release-latest.rpm && \
6+
dnf install -y openssl-devel \
67
cyrus-sasl-devel \
78
pkgconfig \
89
systemd-devel \
@@ -11,4 +12,6 @@ RUN dnf upgrade -y \
1112
libyaml \
1213
gdb \
1314
nc \
15+
arrow-glib-devel \
16+
parquet-glib-devel \
1417
&& dnf clean all

0 commit comments

Comments
 (0)