Merge commit '834581e4d813d56332e49c3849272142a8d15d28' into main
This commit is contained in:
commit
8f1f548896
|
@ -183,7 +183,7 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
push: true
|
||||
# platforms : linux/amd64,linux/arm64
|
||||
platforms : linux/amd64,linux/arm64
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=registry,ref=ghcr.io/azuracast/web:buildcache
|
||||
|
|
|
@ -2,3 +2,21 @@ export LC_ALL=C
|
|||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
minimal_apt_get_install='apt-get install -y --no-install-recommends'
|
||||
|
||||
install_without_postinst() {
|
||||
local PACKAGE
|
||||
PACKAGE=$1
|
||||
|
||||
mkdir -p /tmp/install_$PACKAGE
|
||||
cd /tmp/install_$PACKAGE
|
||||
|
||||
apt-get download $PACKAGE
|
||||
dpkg --unpack $PACKAGE*.deb
|
||||
rm -f /var/lib/dpkg/info/$PACKAGE.postinst
|
||||
dpkg --configure $PACKAGE
|
||||
|
||||
apt-get install -yf #To fix dependencies
|
||||
|
||||
cd /
|
||||
rm -rf /tmp/install_$PACKAGE
|
||||
}
|
||||
|
|
|
@ -3,9 +3,6 @@ set -e
|
|||
source /bd_build/buildconfig
|
||||
set -x
|
||||
|
||||
apt-get update
|
||||
$minimal_apt_get_install netbase
|
||||
|
||||
# Prevent systemd auto-startup
|
||||
ln -s /dev/null /etc/systemd/system/beanstalkd.service
|
||||
|
||||
$minimal_apt_get_install beanstalkd
|
||||
install_without_postinst beanstalkd
|
||||
|
|
|
@ -3,10 +3,7 @@ set -e
|
|||
source /bd_build/buildconfig
|
||||
set -x
|
||||
|
||||
# Prevent systemd auto-startup
|
||||
ln -s /dev/null /etc/systemd/system/cron.service
|
||||
|
||||
$minimal_apt_get_install cron
|
||||
install_without_postinst cron
|
||||
|
||||
chmod 600 /etc/crontab
|
||||
|
||||
|
|
Loading…
Reference in New Issue