Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install additional software #42

Closed
Jagget opened this issue Sep 17, 2019 · 1 comment
Closed

Can't install additional software #42

Jagget opened this issue Sep 17, 2019 · 1 comment

Comments

@Jagget
Copy link

Jagget commented Sep 17, 2019

Using it as GitLab CI image. Need PIP3 library for deployment

image: alekzonder/puppeteer:latest

services:
  - docker:dind

Getting an error:

$ apt-get install python3-pip -y
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
@rudolfbyker
Copy link

This is probably because of rm -rf /var/lib/apt/lists/* at

apt-get clean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*

@Jagget Jagget closed this as completed Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants