Files
opensearch-pyd/.ci/Dockerfile-py26
T
Nick LangandGitHub 51c2c9f7ac In preparation for moving to Elastic's CI (#862)
* In preperation for moving to Elastic's CI

Add dockerfile to build image for testing python client in a docker container
add docker-compose to create environment for running tests against specific versions of ES
Add Makefile to make it easy to execute tests and cleanup
add wait-for-elasticsearch.sh script to wait for elasticsearch before executing the tests.

* add pull and comment about pushing requring auth

* spelling errors

* adding CI directory for jenkins to pick up

fixing typo too

* fix test-matrix and create working run-tests

* add comment about why skipping python 2.6

* adding dockerfiles to create base images for ci
2018-10-26 13:02:14 -06:00

11 lines
452 B
Plaintext

FROM ubuntu:18.04
RUN apt-get update && apt-get install -y curl build-essential zlib1g-dev libssl1.0-dev
RUN ln -s /lib/i386-linux-gnu/libz.so.1 /lib/libz.so
RUN curl -s https://www.python.org/ftp/python/2.6.9/Python-2.6.9.tgz | tar -xzf -
WORKDIR Python-2.6.9
RUN LDFLAGS="-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)" ./configure
RUN make
RUN make install
RUN curl https://bootstrap.pypa.io/2.6/get-pip.py -o get-pip.py
RUN python get-pip.py