Skip to content

Commit

Permalink
Heroku-24: Remove stunnel (#275)
Browse files Browse the repository at this point in the history
Since:
- `heroku-buildpack-pgbouncer` hasn't used stunnel since 2018:
  heroku/heroku-buildpack-pgbouncer#104
- Redis 6 and newer support native TLS, making `heroku-buildpack-redis` redundant:
  heroku/heroku-buildpack-redis#40
  (The buildpack can be sunset now that old Redis instances have been shut down)
- If any other less common use-case needs stunnel, they can install it using APT.
- It reduces the run and build image sizes by 17 MB, and in a CNB world image size is a much bigger concern, so we need to be more selective about what packages we include.
- Once Heroku-24 GAs we can't remove packages (since it will break backwards compatibility given stack rebasing), however, we can add packages - so we should err on the side of trying out removing packages now.

Before:

```
-----> Size breakdown...
       heroku/heroku:24         441MB
       heroku/heroku:24-build   1.13GB
```

After:

```
-----> Size breakdown...
       heroku/heroku:24         424MB
       heroku/heroku:24-build   1.11GB
```

Towards #266.
GUS-W-15159536.
  • Loading branch information
edmorley authored Mar 21, 2024
1 parent f177eea commit b1e1838
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 35 deletions.
8 changes: 0 additions & 8 deletions heroku-24-build/installed-packages-amd64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ libacl1-dev
libaec0
libaom-dev
libaom3
libapparmor1
libapt-pkg-dev
libapt-pkg6.0
libarchive13
Expand Down Expand Up @@ -144,7 +143,6 @@ libcgif0
libcom-err2
libcrypt-dev
libcrypt1
libcryptsetup12
libctf-nobfd0
libctf0
libcurl3-gnutls
Expand All @@ -161,7 +159,6 @@ libde265-dev
libdebconfclient0
libdeflate-dev
libdeflate0
libdevmapper1.02.1
libdjvulibre-dev
libdjvulibre-text
libdjvulibre21
Expand All @@ -182,7 +179,6 @@ libexif12
libexpat1
libexpat1-dev
libext2fs2
libfdisk1
libffi-dev
libffi8
libfftw3-double3
Expand Down Expand Up @@ -434,7 +430,6 @@ libstdc++-13-dev
libstdc++6
libsvtav1enc1d1
libsystemd-dev
libsystemd-shared
libsystemd0
libsz2
libtasn1-6
Expand Down Expand Up @@ -566,9 +561,6 @@ sed
sensible-utils
shared-mime-info
socat
stunnel4
systemd
systemd-dev
sysvinit-utils
tar
telnet
Expand Down
8 changes: 0 additions & 8 deletions heroku-24-build/installed-packages-arm64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ libacl1-dev
libaec0
libaom-dev
libaom3
libapparmor1
libapt-pkg-dev
libapt-pkg6.0
libarchive13
Expand Down Expand Up @@ -144,7 +143,6 @@ libcgif0
libcom-err2
libcrypt-dev
libcrypt1
libcryptsetup12
libctf-nobfd0
libctf0
libcurl3-gnutls
Expand All @@ -161,7 +159,6 @@ libde265-dev
libdebconfclient0
libdeflate-dev
libdeflate0
libdevmapper1.02.1
libdjvulibre-dev
libdjvulibre-text
libdjvulibre21
Expand All @@ -182,7 +179,6 @@ libexif12
libexpat1
libexpat1-dev
libext2fs2
libfdisk1
libffi-dev
libffi8
libfftw3-double3
Expand Down Expand Up @@ -433,7 +429,6 @@ libstdc++-13-dev
libstdc++6
libsvtav1enc1d1
libsystemd-dev
libsystemd-shared
libsystemd0
libsz2
libtasn1-6
Expand Down Expand Up @@ -565,9 +560,6 @@ sed
sensible-utils
shared-mime-info
socat
stunnel4
systemd
systemd-dev
sysvinit-utils
tar
telnet
Expand Down
9 changes: 0 additions & 9 deletions heroku-24/installed-packages-amd64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ less
libacl1
libaec0
libaom3
libapparmor1
libapt-pkg6.0
libarchive13
libargon2-1
Expand All @@ -87,7 +86,6 @@ libcfitsio10
libcgif0
libcom-err2
libcrypt1
libcryptsetup12
libcurl3-gnutls
libcurl4
libdatrie1
Expand All @@ -96,7 +94,6 @@ libdb5.3
libde265-0
libdebconfclient0
libdeflate0
libdevmapper1.02.1
libdjvulibre-text
libdjvulibre21
libedit2
Expand All @@ -110,7 +107,6 @@ libevent-pthreads-2.1-7
libexif12
libexpat1
libext2fs2
libfdisk1
libffi8
libfftw3-double3
libfido2-1
Expand Down Expand Up @@ -155,7 +151,6 @@ libjson-c5
libjxl0.7
libk5crypto3
libkeyutils1
libkmod2
libkrb5-3
libkrb5support0
libksba8
Expand Down Expand Up @@ -244,7 +239,6 @@ libssh-4
libssl3
libstdc++6
libsvtav1enc1d1
libsystemd-shared
libsystemd0
libsz2
libtasn1-6
Expand Down Expand Up @@ -328,9 +322,6 @@ sed
sensible-utils
shared-mime-info
socat
stunnel4
systemd
systemd-dev
sysvinit-utils
tar
telnet
Expand Down
9 changes: 0 additions & 9 deletions heroku-24/installed-packages-arm64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ less
libacl1
libaec0
libaom3
libapparmor1
libapt-pkg6.0
libarchive13
libargon2-1
Expand All @@ -87,7 +86,6 @@ libcfitsio10
libcgif0
libcom-err2
libcrypt1
libcryptsetup12
libcurl3-gnutls
libcurl4
libdatrie1
Expand All @@ -96,7 +94,6 @@ libdb5.3
libde265-0
libdebconfclient0
libdeflate0
libdevmapper1.02.1
libdjvulibre-text
libdjvulibre21
libedit2
Expand All @@ -110,7 +107,6 @@ libevent-pthreads-2.1-7
libexif12
libexpat1
libext2fs2
libfdisk1
libffi8
libfftw3-double3
libfido2-1
Expand Down Expand Up @@ -155,7 +151,6 @@ libjson-c5
libjxl0.7
libk5crypto3
libkeyutils1
libkmod2
libkrb5-3
libkrb5support0
libksba8
Expand Down Expand Up @@ -244,7 +239,6 @@ libssh-4
libssl3
libstdc++6
libsvtav1enc1d1
libsystemd-shared
libsystemd0
libsz2
libtasn1-6
Expand Down Expand Up @@ -328,9 +322,6 @@ sed
sensible-utils
shared-mime-info
socat
stunnel4
systemd
systemd-dev
sysvinit-utils
tar
telnet
Expand Down
1 change: 0 additions & 1 deletion heroku-24/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ packages=(
rsync
shared-mime-info
socat
stunnel
tar
telnet
tzdata
Expand Down

0 comments on commit b1e1838

Please sign in to comment.