Skip to content

Commit

Permalink
Added hugo-static builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
codepope committed Sep 3, 2020
1 parent 85eca29 commit 1aca003
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions builtinsupport/builtinsupport.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,13 @@ FROM pierrezemb/gostatic
COPY . /srv/http/
CMD ["-port","8080"]
`},
{Name: "hugo-static",
Description: "Hugo static build with web server builtin",
Details: `Hugo static build, then all public files are copied to the image and served, except files with executable permission set.`,
FileText: `
FROM klakegg/hugo:0.74.0-onbuild AS hugo
FROM pierrezemb/gostatic
COPY --from=hugo /target /srv/http/
CMD ["-port","8080"]
`},
}

0 comments on commit 1aca003

Please sign in to comment.