@@ -3,23 +3,15 @@ MAINTAINER Denis Rouzaud <denis@opengis.ch>
3
3
4
4
LABEL Description="Docker container with QGIS dependencies" Vendor="QGIS.org" Version="1.1"
5
5
6
- # ############
7
- # Add sources
8
- # ############
9
6
# && echo "deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu xenial main" >> /etc/apt/sources.list \
10
7
# && echo "deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu xenial main" >> /etc/apt/sources.list \
11
8
# && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 314DF160 \
12
9
13
- RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
14
- RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list
15
10
16
- # #################
17
- # Install packages
18
- # #################
19
11
RUN apt-get update \
20
12
&& apt-get install -y software-properties-common \
21
13
&& apt-get update \
22
- && DEBIAN_FRONTEND=noninteractive ACCEPT_EULA=Y \
14
+ && DEBIAN_FRONTEND=noninteractive \
23
15
apt-get install -y \
24
16
apt-transport-https \
25
17
bison \
@@ -134,15 +126,21 @@ RUN apt-get update \
134
126
sphinx \
135
127
requests \
136
128
six \
137
- msodbcsql17 \
138
- mssql-tools
139
129
&& apt-get clean
140
130
131
+
132
+ # MSSQL: client side
133
+ RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
134
+ RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list
135
+ RUN apt-get update
136
+ RUN ACCEPT_EULA=Y apt-get install -y msodbcsql17 mssql-tools
137
+
141
138
# Avoid sqlcmd termination due to locale -- see https://github.com/Microsoft/mssql-docker/issues/163
142
139
RUN echo "nb_NO.UTF-8 UTF-8" > /etc/locale.gen
143
140
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
144
141
RUN locale-gen
145
142
143
+
146
144
RUN echo "alias python=python3" >> ~/.bash_aliases
147
145
148
146
# OTB: download and install otb packages for QGIS tests
@@ -155,5 +153,4 @@ ENV QT_SELECT=5
155
153
ENV LANG=C.UTF-8
156
154
ENV PATH="/usr/local/bin:${PATH}"
157
155
158
-
159
-
156
+ CMD /root/QGIS/.ci/travis/linux/docker-build-test.sh
0 commit comments