contrib/packaging/docker/debian.template
author Gregory Szorc <gregory.szorc@gmail.com>
Sat, 12 May 2018 14:41:48 -0700
changeset 38459 c8ef9d897e14
parent 38457 11eda1f1b6e7
permissions -rw-r--r--
packaging: don't write files for templatized Dockerfiles Now that Docker image building is implemented in Python and we can perform template substitution in memory, we don't need to write out produced Dockerfiles to disk. Differential Revision: https://phab.mercurial-scm.org/D3760

FROM debian:%CODENAME%

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

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