diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 07c3f80..0000000 --- a/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM php:alpine - -COPY --from=composer /usr/bin/composer /usr/bin/composer - -RUN apk upgrade --no-cache \ - && apk add --no-cache graphviz - -COPY entrypoint.sh /entrypoint.sh - -ENTRYPOINT ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh deleted file mode 100755 index 57cc4fb..0000000 --- a/entrypoint.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -l - -composer require koriym/app-state-diagram -dirname=$(dirname $2) -./vendor/bin/asd --config=$1 $2 -if [ $? -ne "0" ]; then - echo "ASD error" - exit 1 -else - echo "Output Directory: $dirname" - echo "::set-output name=dir::$dirname" -fi