File: docker.md

package info (click to toggle)
openjph 0.25.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,816 kB
  • sloc: cpp: 34,908; ansic: 339; sh: 179; javascript: 22; makefile: 19
file content (16 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Compiling and Running in Docker #

## Step 1 - clone repository   
`https://github.com/aous72/OpenJPH.git`

## Step 2 - build docker image  
`cd OpenJPH`   
`docker build --rm -f Dockerfile -t openjph:latest .`

## Step 3 - run docker image

### in isolated container   
`docker run -it --rm openjph:latest`

### mapping /usr/src/openjph/build directory in the container to local windows c:\temp
`docker run -it --rm -v C:\\temp:/usr/src/openjph/build openjph:latest`