Skip to content

Commit 56a2d2c

Browse files
committed
Added hadolint
1 parent 8cdfb10 commit 56a2d2c

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM redcoolbeans/dockerlint:latest
2-
COPY LICENSE README.md /
2+
COPY LICENSE README.md hadolint /
33
COPY entrypoint.sh /entrypoint.sh
4-
ENTRYPOINT ["/entrypoint.sh"]
4+
ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/bin/sh
22

3-
time=$(date)
4-
echo ::set-output name=time::$time
5-
63
case $2 in
74
"dockerlint") dockerlint $1;;
8-
"hadolint") hadolint $1;;
5+
"hadolint") /hadolint $1;;
96
esac

hadolint

3.02 MB
Binary file not shown.

0 commit comments

Comments
 (0)