Mercurial > hg
annotate contrib/packaging/docker/centos8 @ 43696:794426e96970
py3: pass bytes to `configint` and `configbool`
Both functions require bytes, even in Python 3.
Differential Revision: https://phab.mercurial-scm.org/D7453
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 18 Nov 2019 17:34:44 +0100 |
parents | 7c9d42c1042d |
children | eccbfa7e19c0 |
rev | line source |
---|---|
43405
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
1 FROM centos:centos8 |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
2 |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
3 RUN groupadd -g %GID% build && \ |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
4 useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
5 |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
6 RUN yum install -y \ |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
7 gcc \ |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
8 gettext \ |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
9 make \ |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
10 python3-devel \ |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
11 python3-docutils \ |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
12 rpm-build |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
13 |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
14 # For creating repo meta data |
7c9d42c1042d
packaging: add support for CentOS 8
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
diff
changeset
|
15 RUN yum install -y createrepo |