Line | |
---|
1 | ARG TAG |
---|
2 | FROM debian:${TAG} |
---|
3 | ARG PYTHON_VERSION |
---|
4 | ENV DEBIAN_FRONTEND noninteractive |
---|
5 | ENV WHEELHOUSE_PATH /tmp/wheelhouse |
---|
6 | ENV VIRTUALENV_PATH /tmp/venv |
---|
7 | # This will get updated by the CircleCI checkout step. |
---|
8 | ENV BUILD_SRC_ROOT /tmp/project |
---|
9 | |
---|
10 | RUN 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. |
---|
26 | COPY . ${BUILD_SRC_ROOT} |
---|
27 | |
---|
28 | RUN "${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.