blob: 17053d6c371500d25fb4b213560cbf6491f5f711 [file] [log] [blame]
beierlm9fc04a12021-02-16 13:30:35 -05001# 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#
prithiv1e3d6ce2017-10-10 13:12:55 +01007# Unless required by applicable law or agreed to in writing, software
beierlm9fc04a12021-02-16 13:30:35 -05008# 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 testing and deb package generation
15#
16# 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#
prithiv1e3d6ce2017-10-10 13:12:55 +010023
beierlm9fc04a12021-02-16 13:30:35 -050024FROM ubuntu:20.04
prithiv1e3d6ce2017-10-10 13:12:55 +010025
beierlm9fc04a12021-02-16 13:30:35 -050026RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
27 DEBIAN_FRONTEND=noninteractive apt-get -y install \
28 debhelper \
29 dh-python \
30 git \
31 python3 \
32 python3-all \
33 python3-dev \
34 python3-setuptools
prithiv1e3d6ce2017-10-10 13:12:55 +010035
beierlm9fc04a12021-02-16 13:30:35 -050036RUN python3 -m easy_install pip==21.0.1
37RUN pip3 install tox==3.22.0
38
39ENV LC_ALL C.UTF-8
40ENV LANG C.UTF-8