Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/dockerfiles/build/Dockerfile.deps-al2023
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM public.ecr.aws/amazonlinux/amazonlinux:2023

RUN dnf upgrade -y && \
dnf install -y https://packages.apache.org/artifactory/arrow/amazon-linux/$(cut -d: -f6 /etc/system-release-cpe)/apache-arrow-release-latest.rpm && \
dnf install -y \
glibc-devel \
libyaml-devel \
Expand All @@ -20,4 +21,6 @@ RUN dnf upgrade -y && \
ca-certificates \
flex \
bison \
arrow-glib-devel \
parquet-glib-devel \
&& dnf clean all
3 changes: 3 additions & 0 deletions scripts/dockerfiles/runtime/Dockerfile.deps-al2023
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:2023 as dependencies

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

# Final minimal runtime image using scratch base
Expand Down
7 changes: 5 additions & 2 deletions scripts/dockerfiles/runtime/Dockerfile.deps-debug-al2023
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM public.ecr.aws/amazonlinux/amazonlinux:2023

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