From: "Theodore Ts'o" <tytso@mit.edu>
To: Dmitry Monakhov <dmonakhov@openvz.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 6/6] Add dockerfile
Date: Sun, 21 Aug 2016 11:35:47 -0400 [thread overview]
Message-ID: <20160821153547.3shrny7phed22xew@thunk.org> (raw)
In-Reply-To: <87y43ql481.fsf@openvz.org>
On Sun, Aug 21, 2016 at 03:02:38PM +0300, Dmitry Monakhov wrote:
> Probably it it reasonable to create dedicated directory ./docker
> and place all docker related crap there:
> # build scripts
> docker/Dockerfile.build-env
> docker/Dockerfile.run-env
> # And some run scripts
> # Build all environment from scratch
> docker/docker-build.sh
> # Move config, kernel, root_fs.img inside container and run {gce,kvm}-xfstests.sh
> docker/docker-kvm-xfstests.sh
> docker/docker-gce-xfstests.sh
I thought about that, but my current thinking is to have one
Dockerfile which is in the top-level directory, and one which is in
the kvm-xfstests directory.
I've already created a tytso/xfststs-bld Docker image which was
generated using:
docker build -t tytso/xfstests-bld https://github.com/tytso/xfstests-bld.git
By putting the Dockerfile in the top-level directory, I can use the
command "COPY . /devel/xfstests-bld" in the Dockerfile, and so we can
get a clean build build that way.
By putting a Dockerfile in the kvm-xfstests directory, then all I have
to do is to put a "COPY . /usr/local/lib/kvm-xfstests" which will copy
all of the kvm-xfstests directory directly where we want the files in
the kvm-xfstests Docker image. I'm assuming that my release process
will first build root_fs.i386 and root_fs.x86_64 using debian chroots,
and then upload them to www.kernel.org. I'll then run:
docker build -t tytso/kvm-xfstests https://github.com/tytso/xfstests-bld.git:kvm-xfstests
... and then the Dockerfile will pull the root_fs.i386 from
ftp.kernel.org.
What do you think?
- Ted
next prev parent reply other threads:[~2016-08-21 15:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1471553651-9547-1-git-send-email-dmonakhov@openvz.org>
[not found] ` <1471553651-9547-7-git-send-email-dmonakhov@openvz.org>
[not found] ` <20160819052106.GC10888@thunk.org>
2016-08-19 9:27 ` Dmitry Monakhov
2016-08-19 23:29 ` Theodore Ts'o
2016-08-20 11:31 ` Dmitry Monakhov
2016-08-20 19:45 ` Theodore Ts'o
2016-08-21 2:55 ` Theodore Ts'o
2016-08-21 12:02 ` Dmitry Monakhov
2016-08-21 14:26 ` Theodore Ts'o
2016-08-21 15:35 ` Theodore Ts'o [this message]
2016-08-22 8:07 ` Dmitry Monakhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160821153547.3shrny7phed22xew@thunk.org \
--to=tytso@mit.edu \
--cc=dmonakhov@openvz.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®