Skip to content

docker image build irregularly fails due to 403 from nf-test download #3684

@JulianFlesch

Description

@JulianFlesch

Description of the bug

Using this Dockerfile to build the nf-core tools image (in our github workflows) fails regularly but not always while installing nf-test with a 403 http error code.

This has been reported a while ago with their old url https://code.askimed.com/install/nf-test/
(issue from 2022 at askimed/nf-test/)

Also occurs now when switching to https://get.nf-test.com/ which is documented as their new install method.

#13 [ 8/11] RUN curl -fsSL https://get.nf-test.com/ | bash     && mv nf-test /usr/local/bin     && chmod a+rx /usr/local/bin/nf-test
#13 0.624 curl: (22) The requested URL returned error: 403
#13 ERROR: process "/bin/sh -c curl -fsSL https://get.nf-test.com/ | bash     && mv nf-test /usr/local/bin     && chmod a+rx /usr/local/bin/nf-test" did not complete successfully: exit code: 22
------
 > [ 8/11] RUN curl -fsSL https://get.nf-test.com/ | bash     && mv nf-test /usr/local/bin     && chmod a+rx /usr/local/bin/nf-test:
0.624 curl: (22) The requested URL returned error: 403

Command used and terminal output

# this is being run
$ cd tools/
$ docker build .

# error only occured during github workflow runs
# NOTE: this only runs when manually adding the `workflow_dispatch` hook
$ gh workflow run push_dockerhub_dev.yml

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions