Skip to content

Commit

Permalink
Update docker requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst committed May 5, 2024
1 parent e2e318e commit ec5e3ec
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@
}
}
},
{
"label": "action update",
"type": "shell",
"command": "docker run --rm -v ${workspaceFolder}:/docs -e INPUT_PUSH -e INPUT_SITE_DIR althack/mkdocs-simple-plugin:latest update.sh",
"options": {
"env": {
"INPUT_SITE_DIR": "/docs/site",
"INPUT_PUSH": "false"
}
}
},
{
"label": "action serve",
"type": "shell",
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ENV PATH=/home/mkdocs/.local/bin:${PATH}

COPY docker/deploy.sh /usr/local/bin/
COPY docker/entrypoint.sh /usr/local/bin/
COPY docker/update.sh /usr/local/bin/

WORKDIR /docs
ENTRYPOINT ["entrypoint.sh"]
Expand Down
9 changes: 5 additions & 4 deletions docker/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
cairosvg==2.7.1
mike==2.0.0
mike==2.1.1
mkdocs-awesome-pages-plugin==2.9.2
mkdocs-material==9.5.17
mkdocs==1.5.3
mkdocs-material==9.5.21
mkdocs==1.6.0
pillow==10.3.0
pymdown-extensions==10.7.1
pip-upgrader==1.4.15
pymdown-extensions==10.8.1
3 changes: 3 additions & 0 deletions docker/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

pip3 install --upgrade pip && pip-upgrade docker/requirements.txt --skip-virtualenv-check -p all

0 comments on commit ec5e3ec

Please sign in to comment.