fix: clean up docker containers when they're done

running without --rm pollutes local docker containers
blood
Adasauce 4 years ago
parent 90f6688091
commit 1c87b3e0d1
Signed by: adasauce
GPG Key ID: B4FD3151235211CB
  1. 11
      README.md
  2. 2
      sh/mknative

@ -1,6 +1,7 @@
# mknative # mknative
Some bash wrappers around nativefier to generate standalone electron apps. Some bash wrappers around nativefier to generate standalone electron apps and have them
installed as desktop apps.
## Usage ## Usage
@ -18,6 +19,14 @@ Basic Usage: $ mknative [-u] -n NativeExample -s https://example.com
## Installation ## Installation
dependencies:
- bash
- docker
- jq
- curl
- wget
``` ```
make install make install
``` ```

@ -80,7 +80,7 @@ if [ -n "${icon_domain}" ]; then
wget -nv -O $HOME/.local/share/mknative/icons/${name}.png -e robots=off ${urls[$url_choice]} wget -nv -O $HOME/.local/share/mknative/icons/${name}.png -e robots=off ${urls[$url_choice]}
fi fi
docker run --privileged -ti \ docker run --privileged -ti --rm \
-v $HOME/.local/bin/nativefier:/target/ \ -v $HOME/.local/bin/nativefier:/target/ \
-v $HOME/.local/share/mknative/icons:/src \ -v $HOME/.local/share/mknative/icons:/src \
jiahaog/nativefier:latest \ jiahaog/nativefier:latest \

Loading…
Cancel
Save