Skip to content

Commit

Permalink
How to apt-get install in Docker container, refs #1320
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 27, 2021
1 parent eb6c7c5 commit 5a2cbbe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,12 @@ You can now run the new custom image like so::

You can confirm that the plugins are installed by visiting
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

0 comments on commit 5a2cbbe

Please sign in to comment.