This repository was archived by the owner on Sep 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +33
-40
lines changed
Expand file tree Collapse file tree 3 files changed +33
-40
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,26 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
77RUN echo 'APT::Install-Recommends 0;' > /etc/apt/apt.conf.d/01norecommends \
88 && echo 'APT::Install-Suggests 0;' >> /etc/apt/apt.conf.d/01norecommends
99
10- ADD build_ice.sh /
11- # Install ice from source
12- RUN bash build_ice.sh
13- # Zeroc IcePy
14- RUN pip install zeroc-ice==3.6.4
10+ RUN apt-get update && \
11+ apt-get install -y -q\
12+ unzip \
13+ wget \
14+ build-essential \
15+ db5.3-util \
16+ libbz2-dev \
17+ libdb++-dev \
18+ libdb-dev \
19+ libexpat-dev \
20+ libmcpp-dev \
21+ libssl-dev \
22+ mcpp \
23+ python3-dev \
24+ python3-pip \
25+ python3-setuptools \
26+ python3-wheel \
27+ software-properties-common \
28+ zlib1g-dev
1529
16- RUN pip install wheel
1730RUN mkdir /dist
1831ADD build.sh /
1932CMD ["/build.sh" ]
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- set -eu
3+ set -eux
44
5- ICE_VERSION=${1:- " 3.6.4 " }
5+ ICE_VERSION=${1:- " 3.6.5 " }
66
7- pip download " zeroc-ice==$ICE_VERSION "
7+ # Build ice cpp from source
8+ wget -q https://github.com/zeroc-ice/ice/archive/v$ICE_VERSION .tar.gz
9+ tar xzf v$ICE_VERSION .tar.gz
10+ cd ice-$ICE_VERSION /cpp
11+
12+ make --silent && make install --silent
13+
14+ tar -zcf /dist/Ice-$ICE_VERSION -ubuntu1804-amd64.tar.gz /opt/Ice-3.6.5/
15+
16+ # Zeroc IcePy
17+ pip3 download " zeroc-ice==$ICE_VERSION "
818tar -zxf " zeroc-ice-$ICE_VERSION .tar.gz"
919cd " zeroc-ice-$ICE_VERSION "
10- python setup.py bdist_wheel
11-
12- tar cf - /opt/Ice-$ICE_VERSION / | xz -z - > dist/Ice-$ICE_VERSION -ubuntu1804-amd64.tar.xz
20+ python3 setup.py bdist_wheel
1321
1422cp dist/* /dist/
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments