forked from kubernetes/website
-
Notifications
You must be signed in to change notification settings - Fork 0
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
df7b541
commit 7d62be1
Showing
3 changed files
with
12 additions
and
7 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 |
---|---|---|
|
@@ -4,11 +4,6 @@ | |
# change is that the Hugo version is now an overridable argument rather than a fixed | ||
# environment variable. | ||
|
||
# Bump this by 1 whenever you change the Dockerfile below, e.g. if | ||
# `DOCKERFFILE_VERSION=1` then change this to `DOCKERFILE_VERSION=2` when you | ||
# change something else in this file. | ||
# DOCKERFILE_VERSION=0 | ||
|
||
FROM alpine:latest | ||
|
||
LABEL maintainer="Luc Perkins <[email protected]>" | ||
|
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
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,10 @@ | ||
#!/bin/sh | ||
# this script emits as hash for the files listed in $@ | ||
if command -v shasum >/dev/null 2>&1; then | ||
cat "$@" | shasum -a 256 | cut -d' ' -f1 | ||
elif command -v sha256sum >/dev/null 2>&1; then | ||
cat "$@" | sha256sum | cut -d' ' -f1 | ||
else | ||
echo "missing shasum tool" 1>&2 | ||
exit 1 | ||
fi |