From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31311 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Cambridge Yang Newsgroups: gmane.text.pandoc Subject: Re: Possible to install extra executables to the docker container? Date: Mon, 29 Aug 2022 23:41:21 -0700 (PDT) Message-ID: <9dfa2d53-6e1c-49c8-80a3-46ea8ee5eb2an@googlegroups.com> References: <540ad786-9531-48ff-b160-eae729cb46a9n@googlegroups.com> <698CB9AE-DB69-4E8B-9A07-1F7B82F83A04@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6210_1477400900.1661841681909" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28746"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC3Y5MXGSIOBBE7CW2MAMGQEU7KUXOI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 30 08:41:27 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f64.google.com ([209.85.219.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oSuwA-0007Lf-SC for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 30 Aug 2022 08:41:26 +0200 Original-Received: by mail-qv1-f64.google.com with SMTP id ny1-20020a056214398100b00498efa6a165sf6203384qvb.22 for ; Mon, 29 Aug 2022 23:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc; bh=u33Vv1QSsX1BJvHuK/XwQLjgsNWDoZ1HGa+O9c69IbI=; b=sty4UccKr0lUqSNfETfslFCntLYw5SIaXWeN0zkLVSvH7vF1RVRjzrBT6nOLPf9fOk rUYr9Lx/sHzOWWPsfRAfYkIFSHBgJBTInoNnnJv/OYBhCR/ZFnqpwHSrAoP5SWCbFSNb o/kKg5CWnfmzl6Uf3C/AwIaFWrclhzPl4Mn18PZ2AXd9LLYu+JRZlHdM07MxfEtceXSX hslq5W7TJIWSsM1Fx7qjkT5bHV6FDXVgsqyO1+tikmfo2zqfiA+KVxrypIrh5kkiLhyX nC2j6P0ojDEgl5h/85Na3vRRzPufsQgbyY4qW/g9t1tmZMDSL9ZpslLyO3NRvd3lCjwm jAbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc; bh=u33Vv1QSsX1BJvHuK/XwQLjgsNWDoZ1HGa+O9c69IbI=; b=Bi5afgHFQWg20PjgiZpAOUmt3wORwWLCtXuGBXk/TrwYnIOrDejNmbwFQw19fOCPxR 2RMcrMdkFPgsvPtx4l2CORZytEIaIsozJzJtlffHXh9LTJ3SEcCkjGwiDDzXY2q/y5mz /S09LjSVljHd+VzzaMaGGKPSm7jlr9+nCi7dG6pIwiZLb/4FhRHFSgWhXHW0HFNfG9O6 w+Ibt+GaczKiwzBXtKtuVytIbbljcLM6R85YWjW+J8RULSUDJHj/AKyiZIGxn89EmykP +QT5Q6pyo7s6xLkDBxlzGAa/YEmmCVmbGQ0lC/4Zo8H7ZaH2MFFdvmcpJmDuGWM+nlU9 Pnkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc; bh=u33Vv1QSsX1BJvHuK/XwQLjgsNWDoZ1HGa+O9c69IbI=; b=e8zWQVnWtLnKF9QlsAPDGGwI47hbQdYAh7GX+Ljo5pzRk7RwHpWTixT5ouBrmoPRkY KRyTttqEaDsICUVfINPXXwKuPseytqTnsgs94BGSXjemklbj3IjtHZC1h3lvxkJy5pOo dECLpqc+0N2yewi1qT8C6/hfBIesno5qnHyKVAAnoaem7QenA1+tHdx+Fs2rQMkyblUE 2Z1w8fj+fo4Rh90BYptuzwFmNLzfqJN0FcRyrWhvCBbV07S0MgBiubF3PblPiQcAZ7FR ZagLNkd0/bbAjYF9Jp21xIqFRfCKejZvNmZzkZiAiTIVWKM2J2igd+GMVfrNnsphvw5U tpfQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo0wEoxuU/JTS7DdpeZxu3rBpA8QtH3tcl8aakqb5EX2lnPSCcio 0zQU+H/k1HtfUsuDB0qIRkw= X-Google-Smtp-Source: AA6agR7qQo3t8EgRRJbBCM7UMZ9nMsbnLLcrkWr7VJuH4xXoTPvGR99FWdo31LOUy+MFqQwMJCAKWA== X-Received: by 2002:a05:6214:21a3:b0:479:700c:372 with SMTP id t3-20020a05621421a300b00479700c0372mr13821802qvc.87.1661841685830; Mon, 29 Aug 2022 23:41:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:620a:1008:b0:6b9:4aa2:f6 with SMTP id z8-20020a05620a100800b006b94aa200f6ls5463725qkj.2.-pod-prod-gmail; Mon, 29 Aug 2022 23:41:23 -0700 (PDT) X-Received: by 2002:a05:620a:2589:b0:6ab:91fd:3f7 with SMTP id x9-20020a05620a258900b006ab91fd03f7mr10997714qko.104.1661841683086; Mon, 29 Aug 2022 23:41:23 -0700 (PDT) In-Reply-To: <698CB9AE-DB69-4E8B-9A07-1F7B82F83A04-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Original-Sender: thisiscam95-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31311 Archived-At: ------=_Part_6210_1477400900.1661841681909 Content-Type: multipart/alternative; boundary="----=_Part_6211_1865912025.1661841681909" ------=_Part_6211_1865912025.1661841681909 Content-Type: text/plain; charset="UTF-8" Ah! Thanks that works. I was using the ubuntu image (pandoc/core:latest-ubuntu), and somehow I keep getting ``` CI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: chdir to cwd ("/__w/path-to-repo/") set in config.json failed: no such file or directory: unknown Error: Process completed with exit code 126. ``` when executing ``` apt install graphviz ``` (or any command that's apt related) . On Tuesday, August 30, 2022 at 1:31:50 AM UTC-4 Albert Krewinkel wrote: > See this workflow for an example: > > https://github.com/tarleb/lua-filter-template/blob/main/.github/workflows/ci.yaml > > > > > Am 30. August 2022 03:40:42 MESZ schrieb Cambridge Yang < > thisi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: >> >> Hi, >> >> I am using pandoc/core container in GitHub actions. >> The problem I'm facing is that I have a custom lua filter that invokes an >> external program (in my case, the graphviz's `dot` program). >> If I run the docker container it complains that it can't find `dot` --- >> which makes sense because the docker container does not ship with `dot`. >> Is there an easy way to install `dot` on in the temporary container? Or >> perhaps expose host's dot to the container? >> >> -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9dfa2d53-6e1c-49c8-80a3-46ea8ee5eb2an%40googlegroups.com. ------=_Part_6211_1865912025.1661841681909 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ah! Thanks that works.

I was using the ubuntu image (pan= doc/core:latest-ubuntu), and somehow I keep getting 
```
CI runtime exec failed: exec failed: container_l= inux.go:380: starting container process caused: chdir to cwd ("/__w/path-to= -repo/") set in config.json failed: no such file or directory: unknown
Error: Process completed with exit code 126.
```
when executing 
```
apt install graphviz
```
(or any command that's apt = related)
.

On Tuesday, August 30, 2022 at 1:31:50 AM U= TC-4 Albert Krewinkel wrote:



Am 30. August 2022 03:40:42 MESZ schrie= b Cambridge Yang <thisi...@gm= ail.com>:
Hi,

I am using pandoc/core container in GitHub actions.= =C2=A0
The problem I'm facing is that I have a custom lua fil= ter that invokes an external program (in my case, the graphviz's `dot` = program).=C2=A0
If I run the docker container it complains that i= t can't find `dot` --- which makes sense because the docker container d= oes not ship with `dot`.=C2=A0
Is there an easy way to install `d= ot` on in the temporary container? Or perhaps expose host's dot to the = container?=C2=A0

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/9dfa2d53-6e1c-49c8-80a3-46ea8ee5eb2an%40googlegroups.= com.
------=_Part_6211_1865912025.1661841681909-- ------=_Part_6210_1477400900.1661841681909--