bscreensaver/Dockerfile

27 lines
646 B
Docker
Raw Permalink Normal View History

FROM debian:bookworm-slim
RUN apt-get update && \
apt-get -y full-upgrade && \
apt-get -y install devscripts && \
mkdir -p /bscreensaver-build
WORKDIR /bscreensaver
# 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