From f3ecf70d7dac8f12df88c45ac93f1e9f7fae5ebb Mon Sep 17 00:00:00 2001 From: Yi-Ting Shih Date: Sat, 26 Apr 2025 11:41:23 +0800 Subject: [PATCH] Fix: busybox sh --- Dockerfile | 4 ++-- entrypoint.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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}"