Skip to content

Commit e280ea2

Browse files
author
armab
committed
Add python 3.6 PPA repository to Xenial packagingtest
1 parent a636133 commit e280ea2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packagingtest/xenial/systemd/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ RUN echo -e "#!/bin/sh\nexit 101\n" > /usr/sbin/policy-rc.d && \
4141
apt-get -y install gdebi-core sshpass cron netcat net-tools iproute
4242

4343
# install apt https transport so apt sources can be added that refernece https:// URLs
44-
RUN apt-get -y install apt-transport-https ca-certificates
44+
RUN apt-get -y install apt-transport-https software-properties-common ca-certificates
45+
46+
# Add python 3.6 repository from the 3rd party PPA as it's not available in base distro
47+
RUN add-apt-repository -y ppa:deadsnakes/ppa && \
48+
apt-get update
4549

4650
# install netbase package (includes /etc/protocols and other files we rely on)
4751
RUN apt-get -y install netbase

0 commit comments

Comments
 (0)