source: trunk/.circleci/Dockerfile.fedora

Last change on this file was 3744b4d2, checked in by Jean-Paul Calderone <exarkun@…>, at 2020-08-03T21:02:14Z

FROM creates a new build stage which discards all prior ARGs

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