equal
deleted
inserted
replaced
1 # Builds Beremiz windows installer |
1 # Builds Beremiz windows installer |
2 |
2 |
3 # usage : |
3 # initialize : |
4 # docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t beremiz_builder . |
4 # docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t beremiz_builder . |
|
5 # |
|
6 # build installer as-is : |
5 # docker run -v ~/src:/home/devel/src -v ~/build/:/home/devel/build --rm beremiz_builder |
7 # docker run -v ~/src:/home/devel/src -v ~/build/:/home/devel/build --rm beremiz_builder |
|
8 # |
|
9 # to use on code-build-test cycle : |
|
10 # docker create --name current -v ~/src:/home/devel/src -v ~/build/:/home/devel/build -i -t beremiz_builder /bin/bash |
|
11 # docker start -i current |
|
12 # # call build operations from here |
|
13 # docker stop current |
|
14 # docker rm current |
6 |
15 |
7 FROM ubuntu:xenial |
16 FROM ubuntu:xenial |
8 |
17 |
9 ENV TERM xterm-256color |
18 ENV TERM xterm-256color |
10 |
19 |