RedPanda-CPP/packages/debian-static/01-in-docker.sh

17 lines
337 B
Bash
Raw Normal View History

#!/bin/bash
set -euxo pipefail
SRC_DIR="$PWD"
# build RedPanda C++
mkdir -p /build
cd /build
qmake PREFIX=/usr "$SRC_DIR/Red_Panda_CPP.pro"
make LINUX_STATIC_IME_PLUGIN=ON -j$(nproc)
# install RedPanda C++ to AppDir
make INSTALL_ROOT=/out install
# remove unnecessary, huge files
rm /out/usr/libexec/RedPandaCPP/redpanda-git-askpass