Skip to content

Commit b2fe0d7

Browse files
author
Pan
committed
Updated debian package build docker files.
1 parent 8adab65 commit b2fe0d7

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

.travis.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,30 @@ script:
3232
- cd doc; make html; cd ..
3333
jobs:
3434
include:
35+
3536
- stage: build packages
3637
os: osx
38+
osx_image: xcode6.4
3739
before_install:
3840
- brew update
3941
install:
4042
- brew upgrade openssl
4143
- sudo ci/install-ssh2.sh
42-
- sudo -H pip2 install -U delocate twine wheel pip setuptools
43-
- cp /usr/local/lib/libssh2* .
4444
- ls -lh
45-
- pip2 wheel .
45+
- python --version
46+
- wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
47+
- sudo python get-pip.py
48+
- sudo -H pip install -U pip
49+
- sudo -H pip install -U delocate twine wheel setuptools
50+
- cp /usr/local/lib/libssh2* .
51+
- pip wheel .
4652
script:
4753
- delocate-listdeps --all *.whl
4854
- delocate-wheel -v *.whl
4955
- delocate-listdeps --all *.whl
5056
- ls -l *.whl
5157
- rm -f *.dylib
52-
- pip2 install --user -v *.whl
58+
- pip install --user -v *.whl
5359
- pwd; mkdir temp; cd temp; pwd
5460
- python -c "from ssh2.session import Session; Session()"
5561
- cd ..; pwd
@@ -62,13 +68,11 @@ jobs:
6268

6369
- stage: build packages
6470
os: osx
65-
osx_image: xcode8
6671
before_install:
6772
- brew update
6873
install:
6974
- brew upgrade openssl
7075
- sudo ci/install-ssh2.sh
71-
- sudo rm -f libssh2.1.dylib
7276
- sudo -H pip2 install -U delocate twine wheel pip setuptools
7377
- cp /usr/local/lib/libssh2* .
7478
- ls -lh
@@ -92,27 +96,24 @@ jobs:
9296

9397
- stage: build packages
9498
os: osx
95-
osx_image: xcode6.4
99+
osx_image: xcode8
96100
before_install:
97101
- brew update
98102
install:
99103
- brew upgrade openssl
100104
- sudo ci/install-ssh2.sh
101-
- ls -lh
102-
- python --version
103-
- wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
104-
- sudo python get-pip.py
105-
- sudo -H pip install -U pip
106-
- sudo -H pip install -U delocate twine wheel setuptools
105+
- sudo rm -f libssh2.1.dylib
106+
- sudo -H pip2 install -U delocate twine wheel pip setuptools
107107
- cp /usr/local/lib/libssh2* .
108-
- pip wheel .
108+
- ls -lh
109+
- pip2 wheel .
109110
script:
110111
- delocate-listdeps --all *.whl
111112
- delocate-wheel -v *.whl
112113
- delocate-listdeps --all *.whl
113114
- ls -l *.whl
114115
- rm -f *.dylib
115-
- pip install --user -v *.whl
116+
- pip2 install --user -v *.whl
116117
- pwd; mkdir temp; cd temp; pwd
117118
- python -c "from ssh2.session import Session; Session()"
118119
- cd ..; pwd

ci/docker/debian8/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM cdrx/fpm-debian:8
22

3-
RUN apt-get -y update
4-
RUN apt-get -y install python-setuptools python-dev libssh2-1-dev python-pip git
3+
RUN apt-get -y update && apt-get -y install python-setuptools python-dev libssh2-1-dev python-pip git
54
RUN pip install -U setuptools
65
RUN pip install -U pip wheel
6+
RUN pip install cython
77

88
ENV EMBEDDED_LIB 1
99
ENV HAVE_AGENT_FWD 0

ci/docker/ubuntu14.04/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM cdrx/fpm-ubuntu:14.04
22

3-
RUN apt-get -y update
4-
RUN apt-get -y install python-setuptools python-dev libssh2-1-dev python-pip git
3+
RUN apt-get -y update && apt-get -y install python-setuptools python-dev libssh2-1-dev python-pip git
54
RUN pip install -U setuptools
65
RUN pip install -U pip wheel
76
RUN pip install cython

ci/docker/ubuntu16.04/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM cdrx/fpm-ubuntu:16.04
22

3-
RUN apt-get -y update
4-
RUN apt-get -y install python-setuptools python-dev libssh2-1-dev python-pip git
3+
RUN apt-get -y update && apt-get -y install python-setuptools python-dev libssh2-1-dev python-pip git
54
RUN pip install -U setuptools
65
RUN pip install -U pip wheel
6+
RUN pip install cython
77

88
ENV EMBEDDED_LIB 0
99
ENV HAVE_AGENT_FWD 0

ci/docker/ubuntu18.04/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM cdrx/fpm-ubuntu:18.04
22

3-
RUN apt-get -y update
4-
RUN apt-get -y install python-setuptools python-dev libssh2-1-dev python-pip git
3+
RUN apt-get -y update && apt-get -y install python-setuptools python-dev libssh2-1-dev python-pip git
54
RUN pip install -U setuptools
65
RUN pip install -U pip wheel
6+
RUN pip install cython
77

88
ENV EMBEDDED_LIB 1
99
ENV HAVE_AGENT_FWD 0

0 commit comments

Comments
 (0)