Dockerfile
changeset 32 bec145483ea8
parent 28 950f79385de7
child 37 fd09116d3537
equal deleted inserted replaced
31:d265395c11ad 32:bec145483ea8
     1 # Builds Beremiz windows installer
     1 # Builds Beremiz windows installer
     2 
     2 
     3 # initialize :
     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 #
     5 #
     6 # build installer as-is :
     6 # build installer in ~/build, fetch source from repo :
     7 #   docker run -v ~/src:/home/devel/src -v ~/build/:/home/devel/build --rm beremiz_builder
     7 #   docker run -v ~/build/:/home/devel/build beremiz_builder
       
     8 #
       
     9 # build installer in ~/build, taking source from ~/src :
       
    10 #   docker run -v ~/src:/home/devel/src -v ~/build/:/home/devel/build --rm beremiz_builder \
       
    11 #       xvfb-run make -C /home/devel/build -f /home/devel/src/LPC-2.MC9_distro/Makefile
     8 #
    12 #
     9 # to use on code-build-test cycle :
    13 # 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
    14 #   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 
    15 #   docker start -i current 
    12 #       # call build operations from here
    16 #       # call build operations from here