Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stack-base] fix issue building gitea #5

Closed

Conversation

jnaulty
Copy link
Collaborator

@jnaulty jnaulty commented Nov 29, 2020

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:

Testing:

  • clean images rm -f images/*.tar
  • build image: make images/gitea.tar
  • verify image builds :)

Fixes #4

@jnaulty jnaulty force-pushed the jnaulty/update-npm-stack-base branch 2 times, most recently from 602f831 to 12b507d Compare November 29, 2020 10:03
@jnaulty jnaulty changed the title [stack-base] update npm [stack-base] fix issue building gitea Nov 29, 2020
make/images.mk Outdated
@@ -101,6 +101,7 @@ images/gitea.tar: images/gitea images/stack-go.tar images/git.tar
docker load -i images/stack-go.tar
docker load -i images/git.tar
docker build \
--no-cache \
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove this line, it was just making my life easier for testing

@jnaulty jnaulty force-pushed the jnaulty/update-npm-stack-base branch 2 times, most recently from 60ca5da to 731e0f5 Compare November 29, 2020 22:49
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 hashbang#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/ and adding the repos to the
`update-packages.sh` script

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 :)
@jnaulty jnaulty force-pushed the jnaulty/update-npm-stack-base branch from 731e0f5 to 02975d9 Compare December 22, 2020 03:17
@jnaulty jnaulty closed this Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure building images/gitea
1 participant