Git Product home page Git Product logo

Comments (8)

iranzo avatar iranzo commented on June 2, 2024 1

@hross is there any timeline to get this fixed?

Thanks!

from first-interaction.

nemchik avatar nemchik commented on June 2, 2024 1

I think there are 2 things important here, when fixes will be merged, and how they will be released, will it be under 1.0.0 because no functionality changed? Updating version in several different repos sounds like a task noone wants to do

Setup .github/dependabot.yml

version: 2
updates:
  - package-ecosystem: github-actions
    directory: "/"
    schedule:
      interval: daily
    open-pull-requests-limit: 10

in your repos and it'll update if needed when an update becomes available.

from first-interaction.

MicahZoltu avatar MicahZoltu commented on June 2, 2024

Does anyone know of a workaround other than disabling the action?

from first-interaction.

matschaffer avatar matschaffer commented on June 2, 2024

There are some good recommendations on https://stackoverflow.com/a/64497384/69002 but all of them require changes to the Dockerfile.

So you'd need to fork or wait for node to fix nodejs/docker-node#1379 I think.

from first-interaction.

matschaffer avatar matschaffer commented on June 2, 2024

Looks like the whole 15-slim series has the issue

~/Downloads/npm-issue                                                                                                                                                                                     06:51:02
❯ cat Dockerfile
ARG TAG

FROM node:${TAG}

COPY . .

RUN npm install --production

~/Downloads/npm-issue                                                                                                                                                                                     06:51:06
❯ docker build --build-arg TAG=slim .
Sending build context to Docker daemon  3.072kB
Step 1/4 : ARG TAG
Step 2/4 : FROM node:${TAG}
 ---> 922b09b21278
Step 3/4 : COPY . .
 ---> Using cache
 ---> 5bc600e1e54a
Step 4/4 : RUN npm install --production
 ---> Running in 94046b82e8b6
npm notice
npm notice New patch version of npm available! 7.0.3 -> 7.0.5
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.0.5>
npm notice Run `npm install -g [email protected]` to update!
npm notice
npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-26T06_51_14_110Z-debug.log
The command '/bin/sh -c npm install --production' returned a non-zero code: 1

~/Downloads/npm-issue                                                                                                                                                                                     06:51:14
❯ docker build --build-arg TAG=15.0.0-slim .
Sending build context to Docker daemon  3.072kB
Step 1/4 : ARG TAG
Step 2/4 : FROM node:${TAG}
 ---> 2870b8b46426
Step 3/4 : COPY . .
 ---> Using cache
 ---> a3d7e2649929
Step 4/4 : RUN npm install --production
 ---> Running in 7696bb3404f0
npm notice
npm notice New patch version of npm available! 7.0.2 -> 7.0.5
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.0.5>
npm notice Run `npm install -g [email protected]` to update!
npm notice
npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-26T06_51_17_971Z-debug.log
The command '/bin/sh -c npm install --production' returned a non-zero code: 1

~/Downloads/npm-issue                                                                                                                                                                                     06:51:18
❯ docker build --build-arg TAG=14-slim .
Sending build context to Docker daemon  3.072kB
Step 1/4 : ARG TAG
Step 2/4 : FROM node:${TAG}
 ---> c0f0d070c334
Step 3/4 : COPY . .
 ---> Using cache
 ---> 146a03f04076
Step 4/4 : RUN npm install --production
 ---> Using cache
 ---> 80086efbf336
Successfully built 80086efbf336

~/Downloads/npm-issue                                                                                                                                                                                     06:51:22
❯ docker build --build-arg TAG=12-slim .
Sending build context to Docker daemon  3.072kB
Step 1/4 : ARG TAG
Step 2/4 : FROM node:${TAG}
 ---> 5ac41a843e27
Step 3/4 : COPY . .
 ---> Using cache
 ---> 4c2f3db19ad4
Step 4/4 : RUN npm install --production
 ---> Using cache
 ---> c02cda38bb40
Successfully built c02cda38bb40

from first-interaction.

derberg avatar derberg commented on June 2, 2024

I think there are 2 things important here, when fixes will be merged, and how they will be released, will it be under 1.0.0 because no functionality changed? Updating version in several different repos sounds like a task noone wants to do

from first-interaction.

derberg avatar derberg commented on June 2, 2024

@nemchik awesome, was not aware dependabot supports actions. I still would need to add it to all the repos :(

from first-interaction.

glenn-jocher avatar glenn-jocher commented on June 2, 2024

+1 for this issue. We use actions/first-interaction greetings for our YOLOv5 repo:
https://github.com/ultralytics/yolov5

actions/first-interaction is now failing though, i.e. https://github.com/ultralytics/yolov5/runs/1314359799?check_suite_focus=true

Full error message is:

Build container for action use: '/home/runner/work/_actions/actions/first-interaction/v1/Dockerfile'.
  /usr/bin/docker build -t 1e5c35:55d8dca5377d476c8f60062d5cc7586a -f "/home/runner/work/_actions/actions/first-interaction/v1/Dockerfile" "/home/runner/work/_actions/actions/first-interaction/v1"
  Sending build context to Docker daemon  180.2kB
  
  Step 1/4 : FROM node:slim
  slim: Pulling from library/node
  babf97a3f00a: Pulling fs layer
  d81eb1809d95: Pulling fs layer
  dbaab951a9fa: Pulling fs layer
  cb915c1b28b9: Pulling fs layer
  7c72cd70a544: Pulling fs layer
  cb915c1b28b9: Waiting
  7c72cd70a544: Waiting
  d81eb1809d95: Verifying Checksum
  d81eb1809d95: Download complete
  cb915c1b28b9: Verifying Checksum
  cb915c1b28b9: Download complete
  babf97a3f00a: Verifying Checksum
  babf97a3f00a: Download complete
  7c72cd70a544: Verifying Checksum
  7c72cd70a544: Download complete
  dbaab951a9fa: Verifying Checksum
  dbaab951a9fa: Download complete
  babf97a3f00a: Pull complete
  d81eb1809d95: Pull complete
  dbaab951a9fa: Pull complete
  cb915c1b28b9: Pull complete
  7c72cd70a544: Pull complete
  Digest: sha256:bf39db19ac53a635030d5db569cab912322147139fbf929c252359f3c50c4207
  Status: Downloaded newer image for node:slim
   ---> 922b09b21278
  Step 2/4 : COPY . .
   ---> 576c4002ad48
  Step 3/4 : RUN npm install --production
   ---> Running in a5708f53f895
  npm notice 
  npm notice New patch version of npm available! 7.0.3 -> 7.0.5
  npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.0.5>
  npm notice Run `npm install -g [email protected]` to update!
  npm notice 
  npm ERR! Maximum call stack size exceeded
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /root/.npm/_logs/2020-10-27T11_28_34_372Z-debug.log
  The command '/bin/sh -c npm install --production' returned a non-zero code: 1
  
  Warning: Docker build failed with exit code 1, back off 5.689 seconds before retry.

from first-interaction.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.