-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2751791
commit 2e52f70
Showing
4 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# vim:set ft=dockerfile: | ||
|
||
# Base off of CircleCI's Go image | ||
FROM cimg/go:1.22 | ||
|
||
LABEL maintainer="Ricardo N Feliciano <Ricardo@Feliciano.Tech>" | ||
|
||
ENV HUGO_VER 0.132.0 | ||
ENV HUGO_DOWNLOAD_URL https://github.com/gohugoio/hugo/releases/download/v${HUGO_VER}/hugo_extended_${HUGO_VER}_Linux-64bit.tar.gz | ||
|
||
# Install HTML Proofer - eventually to be replaced with non-Ruby alternative | ||
RUN sudo apt-get update && sudo apt-get install -y \ | ||
# Needed for AsciiDoc support in Hugo \ | ||
asciidoctor \ | ||
libffi-dev \ | ||
rsync \ | ||
ruby-full \ | ||
# Needed for the Nokogiri gem \ | ||
zlib1g-dev && \ | ||
sudo apt-get clean && \ | ||
sudo gem install html-proofer --no-document | ||
|
||
RUN curl -L $HUGO_DOWNLOAD_URL | tar xzv hugo && \ | ||
sudo mv hugo /usr/bin/hugo | ||
|
||
CMD ["htmlproofer", "--help"] | ||
|
||
EXPOSE 1313 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
GEN_CHECK=(v0.131.0) | ||
GEN_CHECK=(v0.132.0) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
# Do not edit by hand; please use build scripts/templates to make changes | ||
|
||
docker build --file 0.131/Dockerfile -t hubci/hugo:0.131.0 -t hubci/hugo:0.131 --platform linux/amd64 . | ||
docker build --file 0.132/Dockerfile -t hubci/hugo:0.132.0 -t hubci/hugo:0.132 --platform linux/amd64 . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
# Do not edit by hand; please use build scripts/templates to make changes | ||
docker push hubci/hugo:0.131 | ||
docker push hubci/hugo:0.131.0 | ||
docker push hubci/hugo:0.132 | ||
docker push hubci/hugo:0.132.0 |