English
« Back to projectatomic.io
Ask Your Question
0

git on the atomic host

asked 2016-02-15 14:53:02 +0000

PerfectWeb gravatar image

i have a volume set as gitRepo but the creation of the bot fails because i get this from kublet

exec: "git": executable file not found in $PATH

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2016-04-06 15:52:11 +0000

walters gravatar image

You can pull down the tools container and use git from there.

atomic run fedora/tools

cd /host/root && git clone foo

That will result in a git repository in /root on the host.

edit flag offensive delete link more
0

answered 2016-03-22 18:24:12 +0000

I've got a packer pipeline I'm building images with. Our requirements at this time require yum and git, so I just curl them to the system during build, remount the filesystems read-write, add them and then reboot. Totally ignoring what Atomic is offering, however there is a push for containers and this is what is working for transition.

edit flag offensive delete link more
0

answered 2016-02-15 15:10:33 +0000

gitRepo volumes aren't currently supported by Fedora or CentOS atomic hosts.

Today, only NFS and iSCSI volumes are supported by Fedora, gluterfs and ceph support is coming in F24. If you'd like to ask for this as an enhancement, please send an email to atomic-devel to start the discussion.

edit flag offensive delete link more

Comments

The other option is to build a local tree that has git and what ever other packages required available, then rebase the official Atomic host with the local tree.

nzwulfin ( 2016-02-15 15:16:31 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Stats

Asked: 2016-02-15 14:53:02 +0000

Seen: 378 times

Last updated: Apr 06 '16