balena-supervisor/test/lib/dbus/Dockerfile
Felipe Lalanne 18c2f8cec9 Migrate lib/legacy tests to integration tests
This also sets up a dbus container as part of the test environment. This
container exposes a socket that the sut container can use
2022-09-28 10:37:41 -03:00

11 lines
247 B
Docker

FROM ubuntu:20.04
# Install Systemd
RUN apt-get update && apt-get install -y --no-install-recommends \
dbus \
&& rm -rf /var/lib/apt/lists/*
COPY dbus.conf /etc/dbus-1/session.d/
ENTRYPOINT ["dbus-run-session", "sleep", "infinity"]