From d03a1519ba78f838414a8c3a35df86dd1d9b994d Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Sun, 17 Mar 2024 15:54:45 +0300 Subject: [PATCH] #1 ubuntu --- Dockerfile | 9 +++++++-- entry.sh | 3 +-- 2 files changed, 8 insertions(+), 4 deletions(-) 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[@]}" {} \;