File Makefile of Package cyrus-imapd-3

13
 
1
build:
2
    docker build . -t cyrusbuilder
3
tarball: build
4
    docker run --rm -ti \
5
        --mount type=bind,source=${PWD},destination=/data \
6
        --mount type=bind,source=${HOME}/.ssh,destination=/home/default/.ssh \
7
        cyrusbuilder bash -c 'cd /data/; ./buildtarball.sh'
8
shell:
9
    docker run --rm -ti \
10
        --mount type=bind,source=${PWD},destination=/data \
11
        --mount type=bind,source=${HOME}/.ssh,destination=/home/default/.ssh \
12
        cyrusbuilder /bin/bash
13