-
-
Notifications
You must be signed in to change notification settings - Fork 697
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 use apt-get in Dockerfile when using datasetteproj/datasette as base #1320
Comments
This is a good catch, thank you. |
So |
I'm testing tweaks to the Dockerfile by editing it and running:
Then running this to inspect the new image:
After changing that line to
|
Added some new documentation about that here: https://github.com/simonw/datasette/blob/c0a748e5c3f498fa8c139b420d07dd3dea612379/docs/installation.rst#installing-plugins |
The datasette base Docker image is super convenient, but there's one problem: if any of the plugins you install require additional system dependencies (e.g., xz, git, curl) then any attempt to use apt in said Dockerfile results in an explosion:
The problem seems to be from completely wiping out
/var/lib/dpkg
in the upstream Dockerfile:datasette/Dockerfile
Line 18 in 1b69753
I've tested without removing the directory and apt works as expected.
The text was updated successfully, but these errors were encountered: