1234567891011121314151617181920212223 |
- #!/usr/bin/env bash
- # build and deploy
- #podman build \
- # --rm \
- # -it \
- # -v "$PWD:/srv/jekyll" \
- # -v "$PWD/vendor/bundle:/usr/local/bundle" \
- # -u 1000:1001 \
- # jekyll:latest \
- # bundle update
- podman build -t atomjekylltemp "$1"
- podman run \
- --rm \
- -it \
- -p 4000:4000 \
- -v "${1}:/srv/jekyll" \
- -v "${1}/vendor/bundle:/usr/local/bundle" \
- localhost/atomjekylltemp \
- /bin/bash
- #podman rmi localhost/atomjekylltemp
|