I need to install a pre-built environment for my application to be deployed, with a bash script that i add to parameters.
#!/bin/bash
apt-get install build-essential python3-dev python3-pip python3-setuptools python3-wheel
I got the permission error, so I tried this as suggested
#!/bin/bash
killall apt apt-get
rm /var/lib/apt/lists/lock
apt-get install build-essential python3-dev python3-pip python3-setuptools python3-wheel
The problem is that i can't use sudo (sudo doesn't work on azure), how to manage this and force the postbuild installation without sudo
(I have tried to add exec, but it said : it can only be used by a terminal).