Skip to content

Instantly share code, notes, and snippets.

@AdrianKoshka
Last active February 3, 2019 21:43
Show Gist options
  • Save AdrianKoshka/cc965394f29893bcb1638a9253c5212f to your computer and use it in GitHub Desktop.
Save AdrianKoshka/cc965394f29893bcb1638a9253c5212f to your computer and use it in GitHub Desktop.
My windows hugo dockerfile
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