Skip to content

alpine:3.13 cannot be used by gitlab-runner (alpine:3.12 can) #134

@dHannasch

Description

@dHannasch

Just to keep you in the loop, some gitlab-runners are unable to load alpine:edge but can load alpine:latest (and any previous alpine version you care to name) just fine.
(The same gitlab-runners were able to run alpine:edge previously, as well, though unfortunately I don't know exactly how long ago. Definitely after the release of 3.12, and it was using https for apk which I believe was a new thing for 3.13, but it looks like it might have grabbed alpine:edge six months ago, so not that long after the release of 3.12.)

Trying to run a pair of jobs:

alpineedge:
  stage: test
  tags:
  - docker
  image: alpine:edge
  script:
  - echo "Success!"

alpinelatest:
  stage: test
  tags:
  - docker
  image: alpine:latest
  script:
  - echo "Success!"

Loading alpine:latest succeeds as expected, but loading alpine:edge fails with

Pulling docker image alpine:edge ...
Using docker image sha256:430cc6504dbd5a0acf9058733dc015452aa0af1b826c3c408c539f4f302591b7 for alpine:edge ...
Executing "step_script" stage of the job script
# sh: write error: Invalid argument

Curiously, some gitlab-runners appear to be able to load alpine:edge even now...exact details still to be determined.

As you can see, the error message isn't very helpful, so this is still an ongoing investigation, but it certainly appears that some change in alpine:edge is making life difficult for Docker-based CI runners. Mentioning it here just in case someone immediately has a brainwave like "ah, right, we just fiddled with the default shell" or something.

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