This repository was archived by the owner on Oct 22, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +34
-2
lines changed
Expand file tree Collapse file tree 3 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14- FROM python:2.7.9-wheezy
14+ FROM python:2.7.12
1515MAINTAINER Tom Denham <tom@projectcalico.org>
1616
1717WORKDIR /code/
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2015 Tigera, Inc. All rights reserved.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ # The wheezy build container is used to build calicoctl with older versions
16+ # of glibc (2.13).
17+ FROM python:2.7.12-wheezy
18+ MAINTAINER Tom Denham <tom@projectcalico.org>
19+
20+ WORKDIR /code/
21+
22+ RUN apt-get update && \
23+ apt-get install -qy python-dev python-pip git libffi-dev libssl-dev procps
24+
25+ # Install the python packages needed for building binaries for Calico Python components.
26+ # Git is installed to allow pip installation from a Github repository.
27+ RUN pip install --upgrade pip
28+ ADD build-requirements-frozen.txt /code/
29+ RUN pip install -r build-requirements-frozen.txt
30+ ADD . /tmp/pycalico
31+ RUN pip install /tmp/pycalico
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ update-frozen:
2121 docker run --rm calico/build pip freeze | grep -v pycalico > build-requirements-frozen.txt
2222
2323calicobuild.created : $(BUILD_FILES ) $(PYCALICO )
24- docker build -t calico/build .
24+ docker build -t calico/build:latest .
25+ docker build -f Dockerfile.build_wheezy -t calico/build:latest-wheezy .
2526 touch calicobuild.created
2627
2728dist/pycalico-$(WHEEL_VERSION ) -py2-none-any.whl : $(PYCALICO )
You can’t perform that action at this time.
0 commit comments