Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

jfrog: curl is missing

Andrew Zyman January 11, 2022

hello,

 how do i go about adding "curl" to the pipeline? I think the image (atlassian/pipelines-awscli) doesn't have the curl installed.

 

Is there a better way of building a docker and pushing it into Jfrog repo?

 

Thank you

 

Error:

Build setup19s
 pipe: jfrog/jfrog-setup-cli:1.0.0
 source ./jfrog-setup-cli.sh
 + source ./jfrog-setup-cli.sh

bash: curl: command not found

JFrog CLI downloaded failed.

 

minimum pipelines code:

 

image:
   name: atlassian/pipelines-awscli
definitions:
    push: &push
    name: Push to Jfrog
    script:
      - pipe: jfrog/jfrog-setup-cli:1.0.0
      - source ./jfrog-setup-cli.sh
      - jfrog rt ping
pipelines:
branches:
master:
- step: *push

1 answer

1 accepted

0 votes
Answer accepted
Andrew Zyman January 11, 2022

adding :

script:
- apk add curl

 

does it

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events