view 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
line wrap: on
line source

FROM fedora:28

RUN groupadd -g 1000 build && \
    useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build

RUN dnf install -y \
	gcc \
	gettext \
	make \
	python-devel \
	python-docutils \
	rpm-build

# For creating repo meta data
RUN dnf install -y createrepo