Skip to content

Commit

Permalink
Heroku-24: Omit transitive deps from package list (#285)
Browse files Browse the repository at this point in the history
This cleans up the packages list in `setup.sh` so that it only includes
top-level dependencies, and no longer redundantly specifies packages
that are transitive dependencies of the main packages. In addition,
`coreutils` has been omitted since it's already in the base Ubuntu 24.04
image (since it's in the `essentials` group).

(In the past before we had the installed packages list validated by CI,
these redundant transitive deps served as a way to ensure we didn't
accidentally omit a package.)

This change is a no-op in terms of the final images (note how there
is no change to the generated `installed-packages-*.txt` lists), but
makes it easier to follow/audit the remaining packages in the list.

GUS-W-15159536.
  • Loading branch information
edmorley committed Apr 23, 2024
1 parent a140130 commit e9db875
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions heroku-24/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ packages=(
# For dig, host and nslookup.
bind9-dnsutils
bzip2
coreutils
curl
file
fontconfig
geoip-database
gettext-base
gir1.2-harfbuzz-0.0
Expand All @@ -55,80 +53,48 @@ packages=(
iproute2
iputils-tracepath
less
libaom3
libargon2-1
libass9
libc-client2007e
libcairo2
libcurl4
libdatrie1
libdav1d7
libev4
libevent-2.1-7
libevent-core-2.1-7
libevent-extra-2.1-7
libevent-openssl-2.1-7
libevent-pthreads-2.1-7
libexif12
libfreetype6
libfribidi0
libgd3
libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-common
libgnutls-openssl27
libgnutls30
libgraphite2-3
libgraphite2-3
libharfbuzz-gobject0
libharfbuzz-icu0
libharfbuzz0b
libheif1
liblzf1
libmagickcore-6.q16-7-extra
libmcrypt4
libmemcached11
libmp3lame0
libmysqlclient21
libnuma1
libogg0
libonig5
libopencore-amrnb0
libopencore-amrwb0
libopus0
libpango-1.0-0
libpangocairo-1.0-0
libpangoft2-1.0-0
libpixman-1-0
librabbitmq4
librsvg2-2
librsvg2-common
libsasl2-modules
libseccomp2
libsodium23
libspeex1
libsvtav1enc1d1
libthai-data
libthai0
libtheora0
libunistring5
libuv1
libvips42
libvorbis0a
libvorbisenc2
libvorbisfile3
libvpx9
libwebp7
libwebpdemux2
libwebpmux3
libx264-164
libx265-199
libxcb-render0
libxcb-shm0
libxrender1
libxslt1.1
libyaml-0-2
libzip4
libzstd1
locales
lsb-release
# Nano is more usable than ed but still much smaller than vim.
Expand All @@ -141,15 +107,13 @@ packages=(
postgresql-client-16
rename
rsync
shared-mime-info
socat
tar
tzdata
unzip
wget
xz-utils
zip
zlib1g
zstd
)

Expand Down

0 comments on commit e9db875

Please sign in to comment.