Mercurial > hg
view contrib/packaging/docker/ubuntu.template @ 51402:2e10ddbb9faa
phases: check secret presence the right way during discovery
There is an official function for this, lets use it.
This will prevent the code to break in the future while we refactor the phase
code.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 20 Feb 2024 17:17:54 +0100 |
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