Mercurial > hg
annotate contrib/packaging/docker/centos6 @ 39270:37e56607cbb9
lfs: add a progress bar when searching for blobs to upload
The search itself can take an extreme amount of time if there are a lot of
revisions involved. I've got a local repo that took 6 minutes to push 1850
commits, and 60% of that time was spent here (there are ~70K files):
\ 58.1% wrapper.py: extractpointers line 297: pointers = extractpointers(...
| 57.7% wrapper.py: pointersfromctx line 352: for p in pointersfromctx(ct...
| 57.4% wrapper.py: pointerfromctx line 397: p = pointerfromctx(ctx, f, ...
\ 38.7% context.py: __contains__ line 368: if f not in ctx:
| 38.7% util.py: __get__ line 82: return key in self._manifest
| 38.7% context.py: _manifest line 1416: result = self.func(obj)
| 38.7% manifest.py: read line 472: return self._manifestctx.re...
\ 25.6% revlog.py: revision line 1562: text = rl.revision(self._node)
\ 12.8% revlog.py: _chunks line 2217: bins = self._chunks(chain, ...
| 12.0% revlog.py: decompressline 2112: ladd(decomp(buffer(data, ch...
\ 7.8% revlog.py: checkhash line 2232: self.checkhash(text, node, ...
| 7.8% revlog.py: hash line 2315: if node != self.hash(text, ...
| 7.8% revlog.py: hash line 2242: return hash(text, p1, p2)
\ 12.0% manifest.py: __init__ line 1565: self._data = manifestdict(t...
\ 16.8% context.py: filenode line 378: if not _islfs(fctx.filelog(...
| 15.7% util.py: __get__ line 706: return self._filelog
| 14.8% context.py: _filelog line 1416: result = self.func(obj)
| 14.8% localrepo.py: file line 629: return self._repo.file(self...
| 14.8% filelog.py: __init__ line 1134: return filelog.filelog(self...
| 14.5% revlog.py: __init__ line 24: censorable=True)
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 24 Aug 2018 17:45:46 -0400 |
parents | 11eda1f1b6e7 |
children | 4c0d4bbdc395 |
rev | line source |
---|---|
22442
77da9c03be60
docker: use stable tags for fedora and centos
Mads Kiilerich <madski@unity3d.com>
parents:
21255
diff
changeset
|
1 FROM centos:centos6 |
38457
11eda1f1b6e7
packaging: consistently create build user in Dockerfiles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
38003
diff
changeset
|
2 |
11eda1f1b6e7
packaging: consistently create build user in Dockerfiles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
38003
diff
changeset
|
3 RUN groupadd -g 1000 build && \ |
11eda1f1b6e7
packaging: consistently create build user in Dockerfiles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
38003
diff
changeset
|
4 useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build |
11eda1f1b6e7
packaging: consistently create build user in Dockerfiles
Gregory Szorc <gregory.szorc@gmail.com>
parents:
38003
diff
changeset
|
5 |
34423
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
6 RUN yum install -y \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
7 gcc \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
8 gettext \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
9 make \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
10 python-devel \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
11 python-docutils \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
12 rpm-build \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
13 tar |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
14 |
22444
49ea49823769
dockerrpm: create a yum/dnf repo from the generated rpms
Mads Kiilerich <madski@unity3d.com>
parents:
22442
diff
changeset
|
15 # For creating repo meta data |
49ea49823769
dockerrpm: create a yum/dnf repo from the generated rpms
Mads Kiilerich <madski@unity3d.com>
parents:
22442
diff
changeset
|
16 RUN yum install -y createrepo |
34423
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
17 |
33596
af09413deb72
makefile: build on CentOS 6 with a Python 2.7
Mathias De Maré <mathias.de_mare@nokia.com>
parents:
22444
diff
changeset
|
18 # For python |
34423
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
19 RUN yum install -y \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
20 bzip2-devel \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
21 ncurses-devel \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
22 openssl-devel \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
23 readline-devel \ |
1baa077214ae
docker: try to follow the best practices for writing Dockerfiles
muxator <a.mux@inwind.it>
parents:
33596
diff
changeset
|
24 zlib-devel |