diff --git a/Dockerfile b/Dockerfile index e58cecf..6e0dea5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,12 +20,17 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -FROM yegor256/rultor-image:1.23.1 +FROM ubuntu:22.04 LABEL "repository"="https://github.com/yegor256/bibcop-action" LABEL "maintainer"="Yegor Bugayenko" -RUN wget https://yegor256.github.io/bibcop/bibcop.pl /home/bibcop.pl +RUN apt-get -y update +RUN apt-get -y install wget + +RUN wget https://yegor256.github.io/bibcop/bibcop.pl \ + && mv bibcop.pl /usr/bin \ + && chmod a+x /usr/bin/bibcop.pl WORKDIR /home COPY entry.sh /home diff --git a/entry.sh b/entry.sh index 0aed4f2..1bf1716 100755 --- a/entry.sh +++ b/entry.sh @@ -29,5 +29,4 @@ cd "${GITHUB_WORKSPACE-/w}" read -r -a opts <<< "${INPUT_OPTS}" -chmod a+x /home/bibcop.pl -find . -name '.bib' -exec /home/bibcop.pl "${opts[@]}" {} \; +find . -name '.bib' -exec bibcop.pl "${opts[@]}" {} \;