-
Notifications
You must be signed in to change notification settings - Fork 7
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
Package source for nodejs is incorrect #17
Labels
bug
Something isn't working
Comments
vweevers
added a commit
that referenced
this issue
Jul 30, 2021
In our dockcross-based images, the 'nodejs' package is available in both default debian sources and nodesource. Debian's package does not include npm. Not sure what changed or when, but it's fixed by increasing the priority of nodesource. This in turn revealed that we were targeting the wrong debian version; should be bullseye instead of buster. Closes #17.
vweevers
added a commit
that referenced
this issue
Jul 30, 2021
In our dockcross-based images, the 'nodejs' package is available in both default debian sources and nodesource. Debian's package does not include npm. Not sure what changed or when, but it's fixed by increasing the priority of nodesource. This in turn revealed that we were targeting the wrong debian version; should be bullseye instead of buster. Closes #17.
vweevers
added a commit
to prebuild/prebuildify-cross
that referenced
this issue
Jul 31, 2021
Depends on prebuild/docker-images#19. Effectively fixes a critical bug (prebuild/docker-images#17) for dockcross-based images. Those are: - `linux-armv6` - `linux-armv7` - `linux-arm64` - `android-armv7` - `android-arm64` Also pins image versions (to version 1) by default, which is now possible because the images are tagged with version numbers in addition to the `latest` tag. Image descriptions have moved to the prebuild/docker-images repository.
vweevers
added a commit
to prebuild/prebuildify-cross
that referenced
this issue
Aug 1, 2021
Depends on prebuild/docker-images#19. Effectively fixes a critical bug (prebuild/docker-images#17) for dockcross-based images. Those are: - `linux-armv6` - `linux-armv7` - `linux-arm64` - `android-armv7` - `android-arm64` Also pins image versions (to version 1) by default, which is now possible because the images are tagged with version numbers in addition to the `latest` tag. Image descriptions have moved to the prebuild/docker-images repository. Uses a temporary fork of the docker-pull npm package in order to include mafintosh/docker-pull#2.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the
linux-armv6
,linux-armv7
,linux-arm64
,android-armv7
andandroid-arm64
images, we're installing thenodejs
package from the wrong source (debian rather than nodesource).As can be seen in the docker build output of
linux-armv6
for example:Confirmed by running:
Because of this, npm isn't installed because only the nodesource package contains npm. This breaks
prebuildify-cross
which relies onnpx
.Can be solved by doing:
In addition, as you may notice in the output above, we're targeting the wrong debian version (in at least
linux-armv6
). Should be bullseye instead of buster.The text was updated successfully, but these errors were encountered: