Skip to content

Commit

Permalink
#1 ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 17, 2024
1 parent 287596a commit d03a151
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions entry.sh
Expand Up @@ -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[@]}" {} \;

0 comments on commit d03a151

Please sign in to comment.