-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an initial pass at creating a new Heroku-20 stack, based on Ubuntu 20.04 ("Focal Fosa"). The process for creating the new stack was: 1. Copy the `heroku-18{,-build}` directories to `heroku-20{,-build}`. 2. Adjust the base image / APT sources to substitute 18.04/bionic references with 20.04/focal. 3. Adjust the packages list to account for renamed/removed packages, until the build passed. 4. Update documentation/Travis files. To view the changes compared to Heroku-18, see the original PR, where the copy and rename changes were made as two separate commits. Of note: * The `python` and `python-dev` packages (which were the Python 2 versions) no longer exist under Ubuntu 20.04. However there are still explicitly named `python2` and `python2-dev` packages - so it is at least possible to install Python 2 (if we want). * Even if we don't explicitly install the `python2` package (this initial PR doesn't, it only explicitly installs Python 3), for the build image (only) it's pulled in by other packages regardless. * The `python2` and `python2-dev` packages no longer install a binary/symlink for `python`. ie: Users must explicitly call the command `python{2,3}` and not `python`, unless we choose to add it back for compat (using the `python-is-python2` or `python-is-python3` packages). Fixes W-7429923.
- Loading branch information
Showing
11 changed files
with
1,258 additions
and
3 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
installed-packages.txt |
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,4 @@ | ||
FROM heroku/heroku:20 | ||
COPY setup.sh /tmp/setup.sh | ||
RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive /tmp/setup.sh \ | ||
&& rm -rf /var/lib/apt/lists/* |
Oops, something went wrong.