HUB
Sign inSign up
docker-hugo logo

jansanchez/docker-hugo

By jansanchez

•Updated almost 9 years ago

Docker image for hugo (gohugo.io)

Image
0

367

jansanchez/docker-hugo repository overview

⁠docker-hugo (gohugo.io)

An Image for Hugo (gohugo.io) based in Alpine Linux

⁠Run + bash (temporary with permissions)

mkdir -p ~/blogs && cd ~/blogs
docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/tmp/source jansanchez/docker-hugo sh

⁠Create our site called 'demo'

hugo new site demo
cd demo

⁠If you want your Own Build

⁠Clone repository

git clone [email protected]:jansanchez/docker-hugo.git

⁠Build

docker build -t jansanchez/docker-hugo .
Tag summary
Recent tags
Content type
Image
Digest
Size
21.6 MB
Last updated
almost 9 years ago
docker pull jansanchez/docker-hugo:latest