blob: e2dffa061d18ee4dc16774bfdaea3135d010187d [file] [log] [blame]
tierno0c01ffa2018-11-19 14:39:33 +01001# 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.
beierlm2663b792021-02-22 14:30:35 -050013########################################################################################
14# This Dockerfile is intented for devops testing and deb package generation
tiernodfe09572018-04-24 10:41:10 +020015#
beierlm2663b792021-02-22 14:30:35 -050016# To run stage 2 locally:
17#
18# docker build -t stage2 .
19# docker run -ti -v `pwd`:/work -w /work --entrypoint /bin/bash stage2
20# devops-stages/stage-test.sh
21# devops-stages/stage-build.sh
22#
tiernodfe09572018-04-24 10:41:10 +020023
garciadeblasbea30742020-07-01 08:03:22 +000024FROM ubuntu:18.04
tiernoc94c3df2018-02-09 15:38:54 +010025
beierlm2663b792021-02-22 14:30:35 -050026RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
27 DEBIAN_FRONTEND=noninteractive apt-get -y install \
28 debhelper \
29 git \
30 python3 \
31 python3-all \
32 python3-dev \
33 python3-setuptools
tierno0c01ffa2018-11-19 14:39:33 +010034
beierlm2663b792021-02-22 14:30:35 -050035RUN python3 -m easy_install pip==21.0.1
36RUN pip3 install tox==3.22.0
tiernoa8d63632018-05-10 13:12:32 +020037
beierlm2663b792021-02-22 14:30:35 -050038RUN DEBIAN_FRONTEND=noninteractive apt-get -y install wget
39
40ENV LC_ALL C.UTF-8
41ENV LANG C.UTF-8