Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

how do i copy to / ? #260

Open
biax opened this issue Oct 6, 2016 · 2 comments
Open

how do i copy to / ? #260

biax opened this issue Oct 6, 2016 · 2 comments

Comments

@biax
Copy link

biax commented Oct 6, 2016

im trying to build my own base image for use with rkt.

i have my voidlinux chroot bootstrap base ready

acbuild copy ~/void/vbase1/ /
copy: mkdir .acbuild/currentaci/rootfs: file exists

I do not know if this is the correct method... but I would like to have my own base instead of fetching from a remote repository.

Also, is it already possible to copy build my own base.aci and then include as dependency for my app.aci ? Last I checked acbuild did not accept local dependencies... without unfavorable workarounds.

I hope such important issues can be sorted quick.

@jonboulle
Copy link
Contributor

The best way to start from an existing root filesystem is to point begin at a directory: https://github.com/containers/build/blob/master/Documentation/subcommands/begin.md#starting-with-a-local-pre-existing-rootfs

You could also probably achieve something similar with copy-to-dir which works differently to copy.

I'll let @dgonyeo chime in on the dependencies front.

@cgonyeo
Copy link
Member

cgonyeo commented Oct 17, 2016

I wrote a little more on dependencies: #262

And as for having local dependencies, it's something I desperately want to add once I add a persistent store to acbuild.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants