Skip to content

"/bin/sh: 1: apk: not found" when building docker image #2

@adam-yang-mox

Description

@adam-yang-mox
Build container for action use: '/home/runner/work/_actions/hashicorp/sentinel-github-actions/v0.6/test/Dockerfile'.
  /usr/bin/docker build -t 5588e4:b59c7e5a7fa44e08b4a0f300d8e2728c -f "/home/runner/work/_actions/hashicorp/sentinel-github-actions/v0.6/test/Dockerfile" "/home/runner/work/_actions/hashicorp/sentinel-github-actions/v0.6/test"
  Sending build context to Docker daemon  5.632kB
  
  Step 1/11 : FROM thrashr888/sentinel-simulator
  latest: Pulling from thrashr888/sentinel-simulator
  bb79b6b2107f: Pulling fs layer
  c69eae7903f4: Pulling fs layer
  037845476a1a: Pulling fs layer
  a1f0b90b16c9: Pulling fs layer
  a1f0b90b16c9: Waiting
  c69eae7903f4: Verifying Checksum
  c69eae7903f4: Download complete
  037845476a1a: Verifying Checksum
  037845476a1a: Download complete
  bb79b6b2107f: Verifying Checksum
  bb79b6b2107f: Download complete
  a1f0b90b16c9: Verifying Checksum
  a1f0b90b16c9: Download complete
  bb79b6b2107f: Pull complete
  c69eae7903f4: Pull complete
  037845476a1a: Pull complete
  a1f0b90b16c9: Pull complete
  Digest: sha256:eddc3d225b890e98c6f2422671ec0029f45b95f92484e324809fb49707836bd4
  Status: Downloaded newer image for thrashr888/sentinel-simulator:latest
   ---> d4bf0fc2f232
  Step 2/11 : LABEL "com.github.actions.name"="sentinel test"
   ---> Running in b1b00ab66de1
  Removing intermediate container b1b00ab66de1
   ---> d186daa3d674
  Step 3/11 : LABEL "com.github.actions.description"="Test Sentinel policies"
   ---> Running in 0a243f46d253
  Removing intermediate container 0a243f46d253
   ---> a98ab22c116e
  Step 4/11 : LABEL "com.github.actions.icon"="terminal"
   ---> Running in 5e13b82c7dfb
  Removing intermediate container 5e13b82c7dfb
   ---> 79ee08a64c8e
  Step 5/11 : LABEL "com.github.actions.color"="blue"
   ---> Running in 035d51f3a8de
  Removing intermediate container 035d51f3a8de
   ---> 4d01f4c01deb
  Step 6/11 : LABEL "repository"="https://github.com/thrashr888/sentinel-github-actions"
   ---> Running in 846a1a6a7ef8
  Removing intermediate container 846a1a6a7ef8
   ---> 48ead3c2399d
  Step 7/11 : LABEL "homepage"="http://github.com/thrashr888/sentinel-github-actions"
   ---> Running in 8b36c7e03b00
  Removing intermediate container 8b36c7e03b00
   ---> e04d19c3b4ff
  Step 8/11 : LABEL "maintainer"="Paul Thrasher"
   ---> Running in 760e5e021078
  Removing intermediate container 760e5e021078
   ---> 3cf1a83ca3b5
  Step 9/11 : RUN apk --no-cache add jq curl
   ---> Running in 5c49493b5234
  /bin/sh: 1: apk: not found
  The command '/bin/sh -c apk --no-cache add jq curl' returned a non-zero code: 127
  
  Warning: Docker build failed with exit code 127, back off 1.774 seconds before retry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions