Skip to content

Commit

Permalink
packages amazon-linux 2023: add support for it
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 23, 2024
1 parent f27d139 commit 14b0c1d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ jobs:
- almalinux-8-aarch64
- almalinux-9
- almalinux-9-aarch64
- amazon-linux-2023
- amazon-linux-2023-aarch64
runs-on: ubuntu-latest
env:
APACHE_ARROW_REPOSITORY: ${{ github.workspace }}/apache-arrow
Expand Down
2 changes: 2 additions & 0 deletions packages/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ class GroongaNormalizerMySQLPackageTask < PackagesGroongaOrgPackageTask
"almalinux-8-aarch64",
"almalinux-9",
"almalinux-9-aarch64",
"amazon-linux-2023",
"amazon-linux-2023-aarch64",
]
end

Expand Down
1 change: 1 addition & 0 deletions packages/yum/amazon-linux-2023-aarch64/from
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--platform=linux/arm64 arm64v8/amazonlinux:2023
17 changes: 17 additions & 0 deletions packages/yum/amazon-linux-2023/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ARG FROM=amazonlinux:2023
FROM ${FROM}

ARG DEBUG

RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "--quiet") && \
dnf update -y ${quiet} && \
dnf install -y ${quiet} \
https://apache.jfrog.io/artifactory/arrow/amazon-linux/$(cut -d: -f6 /etc/system-release-cpe | cut -d. -f1)/apache-arrow-release-latest.rpm \
https://packages.groonga.org/amazon-linux/$(cut -d: -f6 /etc/system-release-cpe | cut -d. -f1)/groonga-release-latest.noarch.rpm && \
dnf groupinstall -y ${quiet} "Development Tools" && \
dnf install -y ${quiet} \
ccache \
cmake \
groonga-devel && \
dnf clean ${quiet} all

0 comments on commit 14b0c1d

Please sign in to comment.