-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stack-base] update npm to install gitea
Use `debian-backports` to update npm from `5.8.0+ds6-4+deb10u2` to `6.14.8+ds-1~bpo10+1`. Why: To help fix an issue encountered when building the `images/gitea.tar` artifact, which was failing to build because of an npm install error. See #4 for more information. What/How: Add backported packages from the debian-backports repository to build with a newer version of npm. Resolved issue by following the documented debian backport instructions: https://backports.debian.org/Instructions/ NPM Package References: - buster npm package: https://packages.debian.org/buster/npm - buster-backports npm package: https://packages.debian.org/buster-backports/npm Testing: - clean images `rm -f images/*.tar` - build image: `make images/gitea.tar` - verify image builds :)
- Loading branch information
Showing
4 changed files
with
28 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
deb http://deb.debian.org/debian buster main | ||
deb http://snapshot.debian.org/archive/debian/20201125T000000Z buster main | ||
deb http://snapshot.debian.org/archive/debian/20201129T000000Z buster main | ||
deb http://security.debian.org/debian-security buster/updates main | ||
deb http://snapshot.debian.org/archive/debian-security/20201125T000000Z buster/updates main | ||
deb http://snapshot.debian.org/archive/debian-security/20201129T000000Z buster/updates main | ||
deb http://deb.debian.org/debian buster-updates main | ||
deb http://snapshot.debian.org/archive/debian/20201125T000000Z buster-updates main | ||
deb http://snapshot.debian.org/archive/debian/20201129T000000Z buster-updates main | ||
# Add buster-backports to update npm | ||
deb http://deb.debian.org/debian buster-backports main |
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