Skip to content

Use pacaur in non interactive mode (in Docker) #27

@gwpl

Description

@gwpl

Hello,

I try to use pacaur in Docker.

So far I crafted Dockerfile that succeeds to install pacaur inside Docker.

When I try to use it

(issue discussed here
https://bbs.archlinux.org/viewtopic.php?pid=1968600#p1968600 ( -> here copy of my Docker file https://gist.github.com/gwpl/be860b7d62aa2ac6b7e7f394a12b91cf ) )

I encounter following error:

Step 40/42 : RUN pacaur -S --noconfirm --noedit gotty
 ---> Running in 0b69c67acd4e
:: $VISUAL and $EDITOR environment variables not set or defined editor not found

Could you help me to use pacaur inside Dockefile?

My first issue is how to make it non interactive to install or produce package file (as later in Dockerfile I can switch to root and install it / otherwise we need to setup sudoers to packager user could run sudo pacman without asking for password).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions