view contrib/packaging/docker/debian.template @ 38459:c8ef9d897e14

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 12 May 2018 14:41:48 -0700
parents 11eda1f1b6e7
children
line wrap: on
line source

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