No description
Find a file
askiiart 8561278167
All checks were successful
continuous-integration/drone Build is passing
Add EXPOSE
2023-09-10 21:24:42 -05:00
.drone.yml Re-add curl installation 2023-09-01 22:02:09 -05:00
.gitignore Initial commit 2023-08-26 13:44:05 -05:00
build-and-push.sh Add built and push script 2023-08-26 13:59:24 -05:00
Dockerfile Add EXPOSE 2023-09-10 21:24:42 -05:00
download.sh Change to download-only 2023-09-01 22:01:21 -05:00
README.md Add drone stuff 2023-09-01 21:07:08 -05:00

docker-hugo

Build Status

Hugo in a Docker container

Running

Example docker run:

docker run -v /path/to/site:/data docker.askiiart.net/askiiart/hugo hugo version

Example docker-compose.yml:

version: '3.7'
services:
  hugo:
    image: docker.askiiart.net/askiiart/hugo
    volumes:
      - /path/to/site:/data
    command: hugo version

Building

Manually

  1. Download Dart Sass (linux-x64) from here, and extract it with tar -xzf dart-sass-*.tar.gz
  2. Download Hugo from (linux-amd64) from here and extract it with tar -xzf hugo_*_linux-amd64.tar.gz --one-top-level
  3. Run docker build .

Automatically

  1. Edit and run ./download-build-push.sh