Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

New Alpine version seems to have broken the actions #32

Closed
Yaronn44 opened this issue Jun 16, 2021 · 3 comments · Fixed by #33
Closed

New Alpine version seems to have broken the actions #32

Yaronn44 opened this issue Jun 16, 2021 · 3 comments · Fixed by #33
Labels
bug Something isn't working

Comments

@Yaronn44
Copy link

Yaronn44 commented Jun 16, 2021

When I use the action in my CI I have the following error since today :

 Step 3/7 : RUN apk --no-cache add git nodejs-npm
   ---> Running in 0bc4189572d0
  fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
  fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
  ERROR: unable to select packages:
    nodejs-npm (no such package):
      required by: world[nodejs-npm]
  The command '/bin/sh -c apk --no-cache add git nodejs-npm' returned a non-zero code: 1

There is a new version of Alpine since yesterday and the error seems to come from here.

@PeterDaveHello
Copy link

PeterDaveHello commented Jun 16, 2021

nodejs/docker-node#1496 is just an issue for Alpine v3.14 to be added to the official node.js Docker image, doesn't have anything to do with the package repository of Alpine Linux.

Not sure if this is something you need:
https://pkgs.alpinelinux.org/package/v3.14/main/x86_64/npm

nodejs-npm was quite an old package name of it until Alpine Linux v3.7
https://pkgs.alpinelinux.org/packages?name=*npm*&branch=v3.7&arch=x86_64

It's just npm since Alpine Linux v3.8
https://pkgs.alpinelinux.org/packages?name=*npm*&branch=v3.8&arch=x86_64

@Yaronn44
Copy link
Author

Yaronn44 commented Jun 16, 2021

Ok got it about the node.js Docker issue. Just updated my last comment.

So if I understand well in the Dockerfile the :
RUN apk --no-cache add git nodejs-npm
should be replace by :
RUN apk --no-cache add git npm

or replace the :
FROM alpine:3
with :
FROM alpine:3.7

Actually I'm just using this Action and all of my CI is broken now, so I'm just trying to figure out what goes wrong...

@ScottBrenner
Copy link
Owner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants