Line | |
---|
1 | ARG TAG |
---|
2 | FROM oraclelinux:${TAG} |
---|
3 | ARG PYTHON_VERSION |
---|
4 | |
---|
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 | # XXX net-tools is actually a Tahoe-LAFS runtime dependency! |
---|
11 | RUN yum install --assumeyes \ |
---|
12 | git \ |
---|
13 | sudo \ |
---|
14 | make automake gcc gcc-c++ \ |
---|
15 | python${PYTHON_VERSION} \ |
---|
16 | libffi-devel \ |
---|
17 | openssl-devel \ |
---|
18 | libyaml \ |
---|
19 | /usr/bin/virtualenv \ |
---|
20 | net-tools |
---|
21 | |
---|
22 | # Get the project source. This is better than it seems. CircleCI will |
---|
23 | # *update* this checkout on each job run, saving us more time per-job. |
---|
24 | COPY . ${BUILD_SRC_ROOT} |
---|
25 | |
---|
26 | 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.