source: trunk/.circleci/Dockerfile.ubuntu

Last change on this file was 13d23e3b, checked in by Itamar Turner-Trauring <itamar@…>, at 2022-02-14T15:57:44Z

The terminal is a lie.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1ARG TAG
2FROM ubuntu:${TAG}
3ARG PYTHON_VERSION
4ENV DEBIAN_FRONTEND noninteractive
5ENV WHEELHOUSE_PATH /tmp/wheelhouse
6ENV VIRTUALENV_PATH /tmp/venv
7# This will get updated by the CircleCI checkout step.
8ENV BUILD_SRC_ROOT /tmp/project
9
10# language-pack-en included to support the en_US LANG setting.
11# iproute2 necessary for automatic address detection/assignment.
12RUN apt-get --quiet update && \
13    apt-get --quiet --yes install git && \
14    apt-get --quiet --yes install \
15        sudo \
16        build-essential \
17        python${PYTHON_VERSION} \
18        python${PYTHON_VERSION}-dev \
19        libffi-dev \
20        libssl-dev \
21        libyaml-dev \
22        virtualenv \
23        language-pack-en \
24        iproute2
25
26# Get the project source.  This is better than it seems.  CircleCI will
27# *update* this checkout on each job run, saving us more time per-job.
28COPY . ${BUILD_SRC_ROOT}
29
30RUN "${BUILD_SRC_ROOT}"/.circleci/prepare-image.sh "${WHEELHOUSE_PATH}" "${VIRTUALENV_PATH}" "${BUILD_SRC_ROOT}" "python${PYTHON_VERSION}"
Note: See TracBrowser for help on using the repository browser.