Update Python build docker container to install dbus & NM

This commit is contained in:
Sumner Evans
2020-01-14 18:26:54 -07:00
parent a7a511656e
commit c5ba167a29
3 changed files with 32 additions and 9 deletions

View File

@@ -5,11 +5,34 @@ MAINTAINER sumner "https://gitlab.com/sumner"
RUN apt update && \
export TZ=America/Denver DEBIAN_FRONTEND=noninteractive && \
apt install -y \
python3-pip libcairo2-dev pkg-config libgtk-3-dev libmpv-dev \
libglib2.0-dev gir1.2-notify-0.7 make build-essential libssl-dev \
zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev \
liblzma-dev python-openssl git libgirepository1.0-dev
python3-pip \
libcairo2-dev \
pkg-config \
libgtk-3-dev \
libmpv-dev \
libglib2.0-dev \
gir1.2-notify-0.7 \
make \
build-essential \
libssl-dev \
zlib1g-dev \
libbz2-dev \
libreadline-dev \
libsqlite3-dev \
wget \
curl \
llvm \
libncurses5-dev \
libncursesw5-dev \
xz-utils \
tk-dev \
libffi-dev \
liblzma-dev \
python-openssl \
git \
libgirepository1.0-dev \
gir1.2-networkmanager-1.0 \
dbus
RUN cd /usr/local/src && \
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash

3
cicd/start-dbus.sh Executable file
View File

@@ -0,0 +1,3 @@
dbus-uuidgen > /var/lib/dbus/machine-id
mkdir -p /var/run/dbus
dbus-daemon --config-file=/usr/share/dbus-1/system.conf --print-address