2022-05-14 07:15:03 +00:00
|
|
|
FROM debian:bookworm-slim
|
2022-05-12 05:37:38 +00:00
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get -y full-upgrade && \
|
2022-05-14 07:15:03 +00:00
|
|
|
apt-get -y install devscripts && \
|
|
|
|
mkdir -p /bscreensaver-build
|
2022-05-12 05:37:38 +00:00
|
|
|
|
2022-05-14 07:15:03 +00:00
|
|
|
WORKDIR /bscreensaver
|
2022-05-12 05:37:38 +00:00
|
|
|
|
|
|
|
# Do this first to get our build deps cached.
|
|
|
|
COPY debian ./debian
|
|
|
|
RUN apt-get build-dep -y .
|
|
|
|
|
|
|
|
# Copy only what we need, to avoid bloating the image with e.g. the target/ dir
|
|
|
|
COPY async-xcb ./async-xcb
|
|
|
|
COPY command ./command
|
|
|
|
COPY dbus-service ./dbus-service
|
|
|
|
COPY dialog-gtk3 ./dialog-gtk3
|
|
|
|
COPY locker ./locker
|
|
|
|
COPY settings ./settings/
|
|
|
|
COPY systemd ./systemd
|
|
|
|
COPY util ./util
|
|
|
|
COPY xcb-xembed ./xcb-xembed
|
|
|
|
COPY bscreensaver.toml.example Cargo.* Makefile ./
|
|
|
|
|
|
|
|
CMD bash
|