annotate contrib/packaging/docker/fedora28 @ 41403:e82288a9556c
wireprotov2server: use our JSON encoder
Python's json module doesn't like to encode bytes instances.
This makes this code difficult to work with Python 3.
We simply swap in Mercurial's JSON encoder to work around it.
Differential Revision: https://phab.mercurial-scm.org/D5712
author |
Gregory Szorc <gregory.szorc@gmail.com> |
date |
Sat, 26 Jan 2019 10:00:17 -0800 |
parents |
600d8d9b8551 |
children |
|
rev |
line source |
38561
|
1 FROM fedora:28
|
|
2
|
|
3 RUN groupadd -g 1000 build && \
|
|
4 useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build
|
|
5
|
|
6 RUN dnf install -y \
|
|
7 gcc \
|
|
8 gettext \
|
|
9 make \
|
|
10 python-devel \
|
|
11 python-docutils \
|
|
12 rpm-build
|
|
13
|
|
14 # For creating repo meta data
|
|
15 RUN dnf install -y createrepo
|