Last active
February 3, 2019 21:43
-
-
Save AdrianKoshka/cc965394f29893bcb1638a9253c5212f to your computer and use it in GitHub Desktop.
My windows hugo dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/nanoserver | |
LABEL maintainer="Adrian Lucrèce Céleste <adrianlucrececeleste@airmail.cc>" | |
RUN powershell Invoke-WebRequest -Uri https://github.com/gohugoio/hugo/releases/download/v0.54.0/hugo_0.54.0_Windows-64bit.zip -Outfile hugo.zip | |
RUN powershell Expand-Archive C:\\hugo.zip -DestinationPath C:\\hugo | |
WORKDIR C:\\workspace | |
CMD [ "--help" ] | |
ENTRYPOINT [ "C:\\hugo\\hugo.exe" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment