Initial commit

This commit is contained in:
askiiart 2023-08-26 13:44:05 -05:00
commit 7f7dfb563e
No known key found for this signature in database
GPG key ID: 85505F3A2264FA01
3 changed files with 16 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
dart-sass*
hugo*_linux-amd64*

5
Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM golang:alpine3.18
WORKDIR /data
COPY dart-sass/* /bin
RUN apk add git
COPY hugo*/hugo /bin

9
README.md Normal file
View file

@ -0,0 +1,9 @@
# docker-hugo
Hugo in a Docker container
## Building
1. Download Dart Sass (linux-x64) from [here](https://github.com/sass/dart-sass/releases/latest), and extract it with `tar -xzf dart-sass-*.tar.gz`
2. Download Hugo from (linux-amd64) from [here](https://github.com/gohugoio/hugo/releases/latest) and extract it with `tar -xzf`
3. Run `docker build .`