forked from OpenSIPS/opensips
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move main builds inside a container, add Ubuntu 24.04.
This allows us to provide a clean build environment as well as to extend os versions to be tested.
- Loading branch information
Showing
4 changed files
with
46 additions
and
22 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
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 |
---|---|---|
@@ -1,8 +1,16 @@ | ||
#!/bin/sh | ||
|
||
. $(dirname $0)/build.conf.sub | ||
|
||
RELEASE="$(lsb_release -cs)" | ||
if [ "${RELEASE}" = "bookworm" ] | ||
then | ||
RELEASE="jammy" | ||
fi | ||
URL="http://archive.ubuntu.com/ubuntu" | ||
|
||
echo "deb $URL $RELEASE main universe | ||
deb $URL $RELEASE-updates main universe | ||
deb $URL $RELEASE-security main universe" | sudo tee /etc/apt/sources.list > /dev/null | ||
deb $URL $RELEASE-security main universe" | ${SUDO} tee /etc/apt/sources.list > /dev/null | ||
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C | ||
gpg --export 871920D1991BC93C | ${SUDO} tee /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg > /dev/null |