Created
May 22, 2023 20:51
-
-
Save mcejp/e100d53583f494950ef791db427e2cf5 to your computer and use it in GitHub Desktop.
Jekyll in Podman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -ex | |
podman start -ia jekyll || podman run -it \ | |
--name jekyll \ | |
--volume=$PWD:/srv/jekyll \ | |
--env JEKYLL_ENV=production \ | |
--env JEKYLL_ROOTLESS=1 \ | |
-p 4000:4000 \ | |
docker.io/jekyll/jekyll:4.1.0 \ | |
sh /srv/jekyll/serve2.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -ex | |
bundle install | |
bundle exec jekyll serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment