-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packages amazon-linux 2023: add support for it
- Loading branch information
Showing
4 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--platform=linux/arm64 arm64v8/amazonlinux:2023 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |