mirror of
https://github.com/Smaug123/static-site-pipeline
synced 2025-10-05 08:18:39 +00:00
Initial commit of new flow
This commit is contained in:
9
docker/shellcheck/Dockerfile
Normal file
9
docker/shellcheck/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM koalaman/shellcheck-alpine:v0.8.0
|
||||
COPY "build.sh" "/build.sh"
|
||||
|
||||
RUN chmod +x /build.sh && \
|
||||
addgroup -S shellcheck && adduser -S shellcheck -G shellcheck
|
||||
|
||||
USER shellcheck
|
||||
|
||||
ENTRYPOINT []
|
3
docker/shellcheck/build.sh
Executable file
3
docker/shellcheck/build.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
find "$1" -type f -name '*.*sh' -print0 | xargs -0 -n1 shellcheck
|
Reference in New Issue
Block a user