Initial commit
This commit is contained in:
commit
7f7dfb563e
3 changed files with 16 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
dart-sass*
|
||||||
|
hugo*_linux-amd64*
|
5
Dockerfile
Normal file
5
Dockerfile
Normal 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
9
README.md
Normal 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 .`
|
Loading…
Reference in a new issue