Ubuntu 18.04, Apache Maven 3.3.9, OpenJDK 8, git - proof of concept
- Download docker environment (https://www.docker.com/get-started)
- Set up a shared folder on your host machine (this is where the VM will put the output files)
- Add an SSH key to Channel4's GitLab without passphrase for your user.
- Run
git clone
and check out this repository - Copy your private key (created in 3.) into the project's (cloned in 4.) root folder with name:
key
- Run
docker build -t="maven" .
in the root of the project (cloned in 4.)
Now you are ready to run this image with the following commands:
docker run -tiv ~/SHARED:/VMSHARED maven
Where ~/SHARED
should match the shared folder's path on your host (defined in 2.)
docker run -tiv ~/SHARED:/VMSHARED maven amazonfire
Where ~/SHARED
should match the shared folder's path on your host (defined in 2.)
ps3
freesat
samsung/dev-app
samsung/test-app
samsung/stage-app
samsung/prod-app
samsung/tizen-int-app
samsung/tizen-test-app
samsung/tizen-stage-app
samsung/tizen-prod-app
samsung/web-app
fvc
yvweb
amazonfire
Run the following command: docker save --output ~/dockerimage.tar maven
Where ~/dockerimage.tar
is the path to save the image.
Run the following command: docker load -i dockerimage.tar
Where dockerimage.tar
is the path of the docker image.