view contrib/packaging/docker/ubuntu.template @ 47254:eac3591abbf4

revlog: add a `_get_decompressor` method This logic is non-trivial and we will need to reuse it. Differential Revision: https://phab.mercurial-scm.org/D10651
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 03 May 2021 21:04:55 +0200
parents 971424517e17
children
line wrap: on
line source

FROM ubuntu:%CODENAME%

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

ARG DEBIAN_FRONTEND=noninteractive

ENV TZ=%TZ%

RUN apt-get update && apt-get install -y \
  build-essential \
  debhelper \
  devscripts \
  dh-python \
  less \
  python \
  python3-all \
  python3-all-dev \
  python3-docutils \
  unzip \
  zip