You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I plan to deploy the master branch onto the AWS EC2 instance by using ssh and git pull to retrieve the resource merged in the master branch and update the resources on EC2.
so the script goes as :
E: Unable to locate package ssh
./devops/build-for-production.sh: line 4: ssh: command not found
Hello @Jeffrey Jacobo ,
Welcome to Atlassian Community.
This error usually happens when the package list of your system, in this case the container with php:7.4-fpm image, is not updated or does not have this package (ssh) available to be installed.
In order to re-synchronize the package index files from their remote sources, you should first execute :
apt-get update
This will download the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies.
After it, you can then install the package by running
apt-get install -y ssh
You can try changing your script to include the commands above and let us know how it goes.
Thank you, @Jeffrey Jacobo .
Kind regards,
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.