Trying to extend Dockerfile, can't install using apt-get getting permission denied
Hey, I'm trying to install stuff into the dockerfile and it won'r let me.
1) either I get permission denied when running
apt-get install
2) using sudo says there is no sudo (so I should already be root?)2 Replies
automatic-azureOP•3y ago
Looks like I can just drop into root for this using
USER root
and then back to myuser
genetic-orange•3y ago
Yeah, see our base Dockerfile https://github.com/apify/apify-actor-docker/blob/master/node-playwright-chrome/Dockerfile
GitHub
apify-actor-docker/Dockerfile at master · apify/apify-actor-docker
Base Docker images for Apify actors. Contribute to apify/apify-actor-docker development by creating an account on GitHub.