Fixes Bug 1273 - aiokafka>0.7.0 needs extra dependency for python < 3.7.0
[osm/common.git] / Dockerfile
1 # Licensed under the Apache License, Version 2.0 (the "License");
2 # you may not use this file except in compliance with the License.
3 # You may obtain a copy of the License at
4 #
5 #    http://www.apache.org/licenses/LICENSE-2.0
6 #
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS,
9 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10 # implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 # This Dockerfile is intented for devops and deb package generation
15 #
16 # Use Dockerfile.local for running osm/LCM in a docker container from source
17
18 FROM ubuntu:18.04
19
20 RUN apt-get update && apt-get -y install git make python python3  \
21     libcurl4-gnutls-dev libgnutls28-dev tox python3-dev python3-pip \
22     debhelper python-setuptools python-all python3-all apt-utils \
23     python-magic && \
24     DEBIAN_FRONTEND=noninteractive pip3 install -U stdeb setuptools-version-command
25