forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add wheezy docker image for use not from travis (pantsbuild#5091)
Add wheezy docker image for use not from travis This helps to build binaries supporting older operating systems without requiring the use of travis. It will also slightly speed up CI, as it can cache a pre-built image for the base image.
- Loading branch information
1 parent
67910fe
commit 3c3d112
Showing
2 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). | ||
# Licensed under the Apache License, Version 2.0 (see LICENSE). | ||
|
||
# Use the standard python-2.7 docker Debian Wheezy image for binary compatibility with old linux | ||
# distros. | ||
FROM python:2.7.13-wheezy | ||
|
||
# Ensure Pants runs under the 2.7.13 interpreter. | ||
ENV PANTS_PYTHON_SETUP_INTERPRETER_CONSTRAINTS="['CPython==2.7.13']" | ||
|
||
# Install various things Pants requires. | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y default-jdk |