source: trunk/.circleci/Dockerfile.debian

Last change on this file was 90a6cf1, checked in by Itamar Turner-Trauring <itamar@…>, at 2022-05-18T17:20:44Z

Just use system Tor, for more stability.

  • Property mode set to 100644
File size: 858 bytes
Line 
1ARG TAG
2FROM debian:${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
10RUN apt-get --quiet update && \
11    apt-get --quiet --yes install \
12        git \
13        lsb-release \
14        sudo \
15        build-essential \
16        python${PYTHON_VERSION} \
17        python${PYTHON_VERSION}-dev \
18        libffi-dev \
19        libssl-dev \
20        libyaml-dev \
21        virtualenv \
22        tor
23
24# Get the project source.  This is better than it seems.  CircleCI will
25# *update* this checkout on each job run, saving us more time per-job.
26COPY . ${BUILD_SRC_ROOT}
27
28RUN "${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.