-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add additional packages to base jammy scripts
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
scripts/ubuntu-jammy-from-community/06-additional-packages.sh
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,27 @@ | ||
#!/bin/bash | ||
|
||
set -exv | ||
|
||
# init helpers | ||
helpers_dir=${MONOPACKER_HELPERS_DIR:-"/etc/monopacker/scripts"} | ||
for h in ${helpers_dir}/*.sh; do | ||
. $h; | ||
done | ||
|
||
# add additional packages | ||
|
||
MISC_PACKAGES=() | ||
# essentials | ||
MISC_PACKAGES+=(build-essential curl git gnupg-agent jq mercurial) | ||
# python things | ||
MISC_PACKAGES+=(python3-pip python3-certifi python3-psutil) | ||
# zstd packages | ||
MISC_PACKAGES+=(zstd python3-zstd) | ||
# things helpful for apt | ||
MISC_PACKAGES+=(apt-transport-https ca-certificates software-properties-common) | ||
# docker-worker needs this for unpacking lz4 images, perhaps uneeded but shouldn't hurt | ||
MISC_PACKAGES+=(liblz4-tool) | ||
# random bits | ||
MISC_PACKAGES+=(libhunspell-1.7-0 libhunspell-dev) | ||
|
||
retry apt-get install -y ${MISC_PACKAGES[@]} |