Skip to content

Document the minimum dependencies necessary to use this action with custom containers #399

Closed
actions/checkout
#104

Description

@kevinburke1

It would be nice to know the minimum amount of software necessary to run this with a custom container. For example, this project requires git at at least v2.18.

I'm currently trying to debug this failure:

/usr/bin/docker exec  186a95cc5746a0d66133af0ae7ec9e161d903825e4c12bdf02f1a2fcede1fe14 sh -c "cat /etc/*release | grep ^ID"
Running JavaScript Action with default external tool: node12
OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused "no such file or directory": unknown

I suspect this means I need to add Node.js to the container image but I'm not sure.

Activity

  1. ericsciple commented on Dec 10, 2019

    @ericsciple
    Collaborator

    @kevinburkemeter thanks. We're going to fallback to downloading the repo using the REST API if git isnt in the PATH.

  2. ericsciple commented on Dec 10, 2019

    @ericsciple
    Collaborator

    will be fixed by pr actions/checkout#104

  3. self-assigned this
    on Dec 10, 2019
  4. chrispat commented on Dec 12, 2019

    @chrispat
    Contributor

    @kevinburkemeter we automatically inject node into the container as that is a runtime concern you should not have to deal with.

  5. davidkarlsen commented on Mar 30, 2020

    @davidkarlsen

    I'm still seeing this with actions/checkout@v2 and also master.
    I'm running on self-hosted runner, with a custom container:

    build:
        runs-on: self-hosted
        container: maven:3-jdk-11
    
  6. ericsciple commented on Mar 31, 2020

    @ericsciple
    Collaborator

    Transferring to actions/runner

    This looks related to minimum dependencies to run any javascript action.

    Related to #334 ?

  7. removed their assignment
    on Mar 31, 2020
  8. igagis commented on Jul 3, 2021

    @igagis

    @chrispat

    we automatically inject node into the container as that is a runtime concern you should not have to deal with.

    is node a binary executable? What if my container is i386 or arm?

    still seeing the issue:
    https://github.com/cppfw/utki/runs/2980442190?check_suite_focus=true#step:4:22

  9. nikola-jokic commented on Feb 2, 2022

    @nikola-jokic
    Contributor

    Hi @igagis! Is this issue still a problem on a newer runner version?

  10. igagis commented on Feb 2, 2022

    @igagis

    @nikola-jokic I don't know, I'm not using official runner for self-hosted machines anymore, I'm using https://github.com/ChristopherHX/github-act-runner and also I don't use javascript-based actions in my pipelines anymore. So, I cannot check, sorry.

  11. nikola-jokic commented on Feb 3, 2022

    @nikola-jokic
    Contributor

    Since this issue is related to actions/checkout, but we use this issue board to track issues with the runner, I am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions