Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS CodePloy pipe example repository : "bash: zip: command not found"

I tried to follow the Deploy to AWS with CodeDeploy instruction

and used the bitbucket-pipelines.yml

But I'm getting this error:

cd app && zip -r ../myapp.zip *

+ cd app && zip -r ../myapp.zip *
bash: zip: command not found

Can I do anything about it?

like image 943
Yevgeniy Afanasyev Avatar asked Sep 22 '26 21:09

Yevgeniy Afanasyev


1 Answers

In the example repository the docker image is configured to atlassian/default-image:2 in the bitbucket-pipelines.yml

image: atlassian/default-image:2

If you use another docker image to run the pipeline, the zip CLI can be missing and you'll need to install it yourself.

like image 193
Alexander Zhukov Avatar answered Sep 28 '26 00:09

Alexander Zhukov