Skip to content

Commit 6c79fd5

Browse files
committed
Add pudb to all images
Well, all besides cent7, which is being handled via cachedout#32. Since pudb ends up being installed on almost all containers I use for testing, this just streamlines the process and makes troubleshooing easier.
1 parent 9dc4e1d commit 6c79fd5

File tree

15 files changed

+75
-0
lines changed

15 files changed

+75
-0
lines changed

arch/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ RUN pacman -Syy
77
RUN pacman -S --noconfirm python2-pip gcc git openssl
88
RUN pip2 install -r /dev_python27.txt
99

10+
# Install pudb, get rid of welcome message, and turn on line numbers
11+
RUN pip2 install pudb
12+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
13+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
14+
1015
# Add symlink for python2
1116
RUN ln -s /usr/bin/python2 /usr/bin/python
1217

cent5/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ RUN easy_install-2.6 pip
3232

3333
RUN pip install -r /dev_python27.txt
3434

35+
# Install pudb, get rid of welcome message, and turn on line numbers
36+
RUN pip install pudb
37+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
38+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
39+
3540
ENV PYTHONPATH=/testing/:/testing/salt-testing/
3641
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
3742

cent6/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ RUN yum -y install python-devel
2121

2222
RUN pip install -r /dev_python27.txt
2323

24+
# Install pudb, get rid of welcome message, and turn on line numbers
25+
RUN pip install pudb
26+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
27+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
28+
2429
ENV PYTHONPATH=/testing/:/testing/salt-testing/
2530
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
2631

debian7/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ RUN apt-get -y install vim
2121
RUN pip install --upgrade pip
2222
RUN pip install -r /dev_python27.txt
2323

24+
# Install pudb, get rid of welcome message, and turn on line numbers
25+
RUN pip install pudb
26+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
27+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
28+
2429
ENV PYTHONPATH=/testing/:/testing/salt-testing/
2530
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
2631

debian8/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ RUN apt-get -y install vim
2020
RUN pip install --upgrade pip
2121
RUN pip install -r /dev_python27.txt
2222

23+
# Install pudb, get rid of welcome message, and turn on line numbers
24+
RUN pip install pudb
25+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
26+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
27+
2328
ENV PYTHONPATH=/testing/:/testing/salt-testing/
2429
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
2530

debian9/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ RUN apt-get -y install vim
2020
RUN pip install --upgrade pip
2121
RUN pip install -r /dev_python27.txt
2222

23+
# Install pudb, get rid of welcome message, and turn on line numbers
24+
RUN pip install pudb
25+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
26+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
27+
2328
ENV PYTHONPATH=/testing/:/testing/salt-testing/
2429
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
2530

fedora24/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ RUN dnf -y install wget gcc git redhat-rpm-config salt-master salt-minion salt-s
77

88
RUN pip install -r /dev_python27.txt
99

10+
# Install pudb, get rid of welcome message, and turn on line numbers
11+
RUN pip install pudb
12+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
13+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
14+
1015
ENV PYTHONPATH=/testing/:/testing/salt-testing/
1116
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
1217

fedora25/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ RUN dnf -y install wget gcc git redhat-rpm-config salt-master salt-minion salt-s
77

88
RUN pip install -r /dev_python27.txt
99

10+
# Install pudb, get rid of welcome message, and turn on line numbers
11+
RUN pip install pudb
12+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
13+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
14+
1015
ENV PYTHONPATH=/testing/:/testing/salt-testing/
1116
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
1217

fedora26/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ RUN dnf -y install wget gcc git redhat-rpm-config salt-master salt-minion salt-s
77

88
RUN pip install -r /dev_python27.txt
99

10+
# Install pudb, get rid of welcome message, and turn on line numbers
11+
RUN pip install pudb
12+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
13+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
14+
1015
ENV PYTHONPATH=/testing
1116
ENV PATH=/testing/scripts:/testing/salt/tests:$PATH
1217

leap421/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ RUN zypper --non-interactive in vim
1818
RUN pip install --upgrade pip
1919
RUN pip install -r /dev_python27.txt
2020

21+
# Install pudb, get rid of welcome message, and turn on line numbers
22+
RUN pip install pudb
23+
RUN sed -i 's/seen_welcome = .\+/seen_welcome = e033/' /root/.config/pudb/pudb.cfg
24+
RUN sed -i 's/line_numbers = .\+/line_numbers = True/' /root/.config/pudb/pudb.cfg
25+
2126
ENV PYTHONPATH=/testing/:/testing/salt-testing/
2227
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
2328

0 commit comments

Comments
 (0)