Skip to content

Commit

Permalink
Add nano to Heroku-20 and Heroku-22 (#309)
Browse files Browse the repository at this point in the history
Nano was added to Heroku-24 in:
#284

This adds it to older stacks too, so that we don't have to:
(a) check which stack an app is running and remember what packages
  come with that stack when debugging in eg a support ticket,
(b) have to resort to using `ed` on older stacks

This adds ~850KB to the run image for the older stacks.

See:
https://packages.ubuntu.com/jammy/nano
https://packages.ubuntu.com/focal/nano
  • Loading branch information
edmorley authored May 24, 2024
1 parent 63870ed commit 3e34d02
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions heroku-20-build/installed-packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ mlock
mount
mtools
mysql-common
nano
ncurses-base
ncurses-bin
netbase
Expand Down
1 change: 1 addition & 0 deletions heroku-20/installed-packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ mlock
mount
mtools
mysql-common
nano
ncurses-base
ncurses-bin
netbase
Expand Down
1 change: 1 addition & 0 deletions heroku-20/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ packages=(
locales
lsb-release
make
nano # More usable than ed but still much smaller than vim.
netcat-openbsd
openssh-client
openssh-server
Expand Down
1 change: 1 addition & 0 deletions heroku-22-build/installed-packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ mlock
mount
mtools
mysql-common
nano
ncurses-base
ncurses-bin
netbase
Expand Down
1 change: 1 addition & 0 deletions heroku-22/installed-packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ mlock
mount
mtools
mysql-common
nano
ncurses-base
ncurses-bin
netbase
Expand Down
1 change: 1 addition & 0 deletions heroku-22/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ packages=(
locales
lsb-release
make
nano # More usable than ed but still much smaller than vim.
netcat-openbsd
openssh-client
openssh-server
Expand Down

0 comments on commit 3e34d02

Please sign in to comment.