Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate JuJu image outside container
- Loading branch information
1 parent
7a4e1b1
commit 8ce47fc
Showing
3 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
|
||
|
||
|
||
To build image: | ||
|
||
docker build -t fee/juju-docker --rm=true . | ||
docker build -t fee/juju-docker . | ||
|
||
To run container: | ||
To run container and generate the JuJu image in /tmp/juju-image: | ||
|
||
docker run --privileged -it feel/juju-docker /bin/bash | ||
docker run --privileged -v /tmp/juju-image:/tmp/juju-image -t juju |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
|
||
git clone https://github.com/fsquillace/juju.git /juju | ||
/juju/bin/juju -b -n | ||
git clone https://github.com/fsquillace/juju.git /tmp/juju | ||
/tmp/juju/bin/juju -b -n |