| 1 |
ARG FROM=debian:bookworm |
| 2 |
FROM ${FROM} |
| 3 |
|
| 4 |
RUN \ |
| 5 |
echo "debconf debconf/frontend select Noninteractive" | \ |
| 6 |
debconf-set-selections |
| 7 |
|
| 8 |
ARG DEBUG |
| 9 |
|
| 10 |
RUN \ |
| 11 |
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \ |
| 12 |
apt update ${quiet} && \ |
| 13 |
apt install -y -V ${quiet} \ |
| 14 |
ca-certificates \ |
| 15 |
lsb-release \ |
| 16 |
wget && \ |
| 17 |
wget https://packages.apache.org/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \ |
| 18 |
apt install -y -V ${quiet} ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \ |
| 19 |
rm apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \ |
| 20 |
wget https://packages.groonga.org/debian/groonga-apt-source-latest-$(lsb_release --codename --short).deb && \ |
| 21 |
apt install -y -V ${quiet} ./groonga-apt-source-latest-$(lsb_release --codename --short).deb && \ |
| 22 |
rm groonga-apt-source-latest-$(lsb_release --codename --short).deb && \ |
| 23 |
apt update ${quiet} && \ |
| 24 |
apt install -y -V ${quiet} \ |
| 25 |
build-essential \ |
| 26 |
ccache \ |
| 27 |
cmake \ |
| 28 |
debhelper \ |
| 29 |
devscripts \ |
| 30 |
libgroonga-dev \ |
| 31 |
pkg-config && \ |
| 32 |
apt clean |