diff --git a/Dockerfile b/Dockerfile index ba7ed3f..5eeb837 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,5 @@ FROM gitea.konchin.com/image/alpine:latest RUN apk --no-cache add --no-check-certificate yamllint ADD entrypoint.sh /entrypoint.sh -ENTRYPOINT ["/usr/bin/env"] -CMD ["sh", "/entrypoint.sh"] +ENTRYPOINT ["/usr/bin/sh"] +CMD ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index ed5cf31..485f40d 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,3 +1,3 @@ -#!/usr/bin/env sh +#!/usr/bin/sh yamllint "${INPUT_CONTEXT}"