view contrib/packaging/docker/ubuntu.template @ 43340:e0812b032bcc stable

packaging: make python snippets in rpm building python3 compatible Fedora 31 has Python3 at /usr/bin/python, and buildrpm would fail on snippets that use python2 syntax. Instead of forcing python2, just accept for the future while staying backwards compatible.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 27 Oct 2019 20:17:33 +0100
parents c8ef9d897e14
children b084ad4875a4
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

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