diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 10ab616..1c0063f 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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 diff --git a/packages/Rakefile b/packages/Rakefile index 6ffa5c2..a76394f 100644 --- a/packages/Rakefile +++ b/packages/Rakefile @@ -59,6 +59,8 @@ class GroongaNormalizerMySQLPackageTask < PackagesGroongaOrgPackageTask "almalinux-8-aarch64", "almalinux-9", "almalinux-9-aarch64", + "amazon-linux-2023", + "amazon-linux-2023-aarch64", ] end diff --git a/packages/yum/amazon-linux-2023-aarch64/from b/packages/yum/amazon-linux-2023-aarch64/from new file mode 100644 index 0000000..ba59a15 --- /dev/null +++ b/packages/yum/amazon-linux-2023-aarch64/from @@ -0,0 +1 @@ +--platform=linux/arm64 arm64v8/amazonlinux:2023 diff --git a/packages/yum/amazon-linux-2023/Dockerfile b/packages/yum/amazon-linux-2023/Dockerfile new file mode 100644 index 0000000..1ceea0e --- /dev/null +++ b/packages/yum/amazon-linux-2023/Dockerfile @@ -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