mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
How to apt-get install in Docker container, refs #1320
This commit is contained in:
parent
fc972350a8
commit
56af118fc1
1 changed files with 9 additions and 0 deletions
|
|
@ -195,3 +195,12 @@ You can now run the new custom image like so::
|
||||||
|
|
||||||
You can confirm that the plugins are installed by visiting
|
You can confirm that the plugins are installed by visiting
|
||||||
http://127.0.0.1:8001/-/plugins
|
http://127.0.0.1:8001/-/plugins
|
||||||
|
|
||||||
|
Some plugins such as `datasette-ripgrep <https://datasette.io/plugins/datasette-ripgrep>`__ may need additional system packages. You can install these by running `apt-get install` inside the container:
|
||||||
|
|
||||||
|
docker run datasette-057a0 bash -c '
|
||||||
|
apt-get update &&
|
||||||
|
apt-get install ripgrep &&
|
||||||
|
pip install datasette-ripgrep'
|
||||||
|
|
||||||
|
docker commit $(docker ps -lq) datasette-with-ripgrep
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue