Show More
@@ -31,8 +31,6 b' build' | |||||
31 | contrib/chg/chg |
|
31 | contrib/chg/chg | |
32 | contrib/hgsh/hgsh |
|
32 | contrib/hgsh/hgsh | |
33 | contrib/vagrant/.vagrant |
|
33 | contrib/vagrant/.vagrant | |
34 | contrib/packaging/docker/debian-* |
|
|||
35 | contrib/packaging/docker/ubuntu-* |
|
|||
36 | dist |
|
34 | dist | |
37 | packages |
|
35 | packages | |
38 | doc/common.txt |
|
36 | doc/common.txt |
@@ -47,50 +47,44 b' deb:' | |||||
47 | ppa: |
|
47 | ppa: | |
48 | ./builddeb --source-only |
|
48 | ./builddeb --source-only | |
49 |
|
49 | |||
50 | docker/debian-%: docker/debian.template |
|
|||
51 | sed "s/__CODENAME__/$*/" $< > $@ |
|
|||
52 |
|
||||
53 | .PHONY: docker-debian-jessie |
|
50 | .PHONY: docker-debian-jessie | |
54 |
docker-debian-jessie: |
|
51 | docker-debian-jessie: | |
55 | ./dockerdeb debian jessie |
|
52 | ./dockerdeb debian jessie | |
56 |
|
53 | |||
57 | .PHONY: docker-debian-stretch |
|
54 | .PHONY: docker-debian-stretch | |
58 |
docker-debian-stretch: |
|
55 | docker-debian-stretch: | |
59 | ./dockerdeb debian stretch |
|
56 | ./dockerdeb debian stretch | |
60 |
|
57 | |||
61 | docker/ubuntu-%: docker/ubuntu.template |
|
|||
62 | sed "s/__CODENAME__/$*/" $< > $@ |
|
|||
63 |
|
||||
64 | .PHONY: docker-ubuntu-trusty |
|
58 | .PHONY: docker-ubuntu-trusty | |
65 |
docker-ubuntu-trusty: |
|
59 | docker-ubuntu-trusty: | |
66 | ./dockerdeb ubuntu trusty |
|
60 | ./dockerdeb ubuntu trusty | |
67 |
|
61 | |||
68 | .PHONY: docker-ubuntu-trusty-ppa |
|
62 | .PHONY: docker-ubuntu-trusty-ppa | |
69 |
docker-ubuntu-trusty-ppa: |
|
63 | docker-ubuntu-trusty-ppa: | |
70 | ./dockerdeb ubuntu trusty --source-only |
|
64 | ./dockerdeb ubuntu trusty --source-only | |
71 |
|
65 | |||
72 | .PHONY: docker-ubuntu-xenial |
|
66 | .PHONY: docker-ubuntu-xenial | |
73 |
docker-ubuntu-xenial: |
|
67 | docker-ubuntu-xenial: | |
74 | ./dockerdeb ubuntu xenial |
|
68 | ./dockerdeb ubuntu xenial | |
75 |
|
69 | |||
76 | .PHONY: docker-ubuntu-xenial-ppa |
|
70 | .PHONY: docker-ubuntu-xenial-ppa | |
77 |
docker-ubuntu-xenial-ppa: |
|
71 | docker-ubuntu-xenial-ppa: | |
78 | ./dockerdeb ubuntu xenial --source-only |
|
72 | ./dockerdeb ubuntu xenial --source-only | |
79 |
|
73 | |||
80 | .PHONY: docker-ubuntu-artful |
|
74 | .PHONY: docker-ubuntu-artful | |
81 |
docker-ubuntu-artful: |
|
75 | docker-ubuntu-artful: | |
82 | ./dockerdeb ubuntu artful |
|
76 | ./dockerdeb ubuntu artful | |
83 |
|
77 | |||
84 | .PHONY: docker-ubuntu-artful-ppa |
|
78 | .PHONY: docker-ubuntu-artful-ppa | |
85 |
docker-ubuntu-artful-ppa: |
|
79 | docker-ubuntu-artful-ppa: | |
86 | ./dockerdeb ubuntu artful --source-only |
|
80 | ./dockerdeb ubuntu artful --source-only | |
87 |
|
81 | |||
88 | .PHONY: docker-ubuntu-bionic |
|
82 | .PHONY: docker-ubuntu-bionic | |
89 |
docker-ubuntu-bionic: |
|
83 | docker-ubuntu-bionic: | |
90 | ./dockerdeb ubuntu bionic |
|
84 | ./dockerdeb ubuntu bionic | |
91 |
|
85 | |||
92 | .PHONY: docker-ubuntu-bionic-ppa |
|
86 | .PHONY: docker-ubuntu-bionic-ppa | |
93 |
docker-ubuntu-bionic-ppa: |
|
87 | docker-ubuntu-bionic-ppa: | |
94 | ./dockerdeb ubuntu bionic --source-only |
|
88 | ./dockerdeb ubuntu bionic --source-only | |
95 |
|
89 | |||
96 | .PHONY: fedora20 |
|
90 | .PHONY: fedora20 |
@@ -1,4 +1,4 b'' | |||||
1 |
FROM debian: |
|
1 | FROM debian:%CODENAME% | |
2 |
|
2 | |||
3 | RUN groupadd -g 1000 build && \ |
|
3 | RUN groupadd -g 1000 build && \ | |
4 | useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build |
|
4 | useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build |
@@ -1,4 +1,4 b'' | |||||
1 |
FROM ubuntu: |
|
1 | FROM ubuntu:%CODENAME% | |
2 |
|
2 | |||
3 | RUN groupadd -g 1000 build && \ |
|
3 | RUN groupadd -g 1000 build && \ | |
4 | useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build |
|
4 | useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build |
@@ -15,7 +15,10 b' CONTAINER=hg-docker-$PLATFORM' | |||||
15 |
|
15 | |||
16 | DOCKER=$($BUILDDIR/hg-docker docker-path) |
|
16 | DOCKER=$($BUILDDIR/hg-docker docker-path) | |
17 |
|
17 | |||
18 | $BUILDDIR/hg-docker build $BUILDDIR/docker/$PLATFORM $CONTAINER |
|
18 | $BUILDDIR/hg-docker build \ | |
|
19 | --build-arg CODENAME=$CODENAME \ | |||
|
20 | $BUILDDIR/docker/$DISTID.template \ | |||
|
21 | $CONTAINER | |||
19 |
|
22 | |||
20 | # debuild only appears to be able to save built debs etc to .., so we |
|
23 | # debuild only appears to be able to save built debs etc to .., so we | |
21 | # have to share the .. of the current directory with the docker |
|
24 | # have to share the .. of the current directory with the docker |
General Comments 0
You need to be logged in to leave comments.
Login now