This repository has been archived on 2026-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
docker-scripts/ubuntu20-04/build-i3lock.dockerfile
2024-02-12 13:39:54 +01:00

20 lines
738 B
Docker

# step 1: create a container for i3lock named "i3lock"
# docker -D build --no-cache -t i3lock .
#
# step 2: run bash in the container, e.g. to run i3lock from the command line
# docker run -it i3lock bash
FROM ubuntu:20.04
WORKDIR /build/i3lock-color
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y git autoconf gcc make pkg-config libpam0g-dev libcairo2-dev libfontconfig1-dev libxcb-composite0-dev libev-dev libx11-xcb-dev libxcb-xkb-dev libxcb-xinerama0-dev libxcb-randr0-dev libxcb-image0-dev libxcb-util-dev libxcb-xrm-dev libxkbcommon-dev libxkbcommon-x11-dev libjpeg-dev
RUN git clone https://github.com/Raymo111/i3lock-color.git /build/i3lock-color
RUN ./build.sh
CMD ["sleep", "infinity"]