diff --git a/Dockerfile b/Dockerfile index b424715..e6f455c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM harbor.avroid.tech/devops/addlicense:1.1.1 -# COPY entrypoint.sh /entrypoint.sh +COPY entrypoint.sh /entrypoint.sh -CMD ["addlicense", "-check", "."] +ENTRYPOINT ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index 0c23ab2..710c956 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,4 +2,4 @@ echo "Processing event '$GITHUB_EVENT_NAME'" -addlicense -check . +/app/addlicense -check .