Hi,

On Sat, 30 Oct 2021 at 02:45, Jacob Hrbek <krey...@rixotstudio.cz> wrote:
> I can't cache the docker step to perform guix-install.sh, because it
> requires a user input which causes the `docker build -t guix:latest
> path/to/directory/with/Dockerfile` to ERR1.
>
> Proposing to add command line option `--quiet` for the installer to
> not ask

I think your proposal already exists.

> Relevant dockerfile:
>
> ```dockerfile
> #@ All rights reserved (C) Jacob Hrbek <rsa4096/0x31AE4020956E0A9A> in 
> 30/10/2021-EU 01:22:40 UTC
> # TODO(Krey): Set as FLOSS once finished

[...]

> && chmod +x guix-install.sh \
> && sh guix-install.sh \

Replace this latter line by:

    yes | ./guix-install.sh

should do what you are asking, IIUC.

> && apt-get remove --yes \
> wget \
> gnupg \
> xz-utils \

[...]

> ```

Does it not work for you?


Cheers,
simon



Reply via email to