-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Docker documentation in MarkDown
- Loading branch information
1 parent
611f208
commit 492a035
Showing
2 changed files
with
20 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
In order to build MAL/C with [Docker](http://docker.com) you have to create a docker image using one of the 2 provided | ||
configuration files: CentOSDockerfile or OpenSuseDockerfile. | ||
These images will contain the requirements to build MAL/C. | ||
Then, the freshly built image can be used to build (local) MAL/C. | ||
|
||
For example to build an OpenSuse instance of MAL/C: | ||
|
||
1. Creates the docker image | ||
|
||
docker build -t malc-centos -f CentOSDockerfile . | ||
|
||
2. Creates and launches a emporary docker container to build current project | ||
|
||
docker run --rm -u `id -u`:`id -g` -v $PWD:$PWD -w $PWD malc-centos ./genmakeall | ||
|
||
If you are behind a corporate proxy, think of using the build-args: | ||
|
||
docker build \ | ||
--build-arg http_proxy=http://proxy.example.com:3128 --build-arg https_proxy=http://proxy.example.com:3128 \ | ||
-t malc-centos -f CentOSDockerfile . |
This file was deleted.
Oops, something went wrong.