Files
khm/Dockerfile

24 lines
546 B
Docker
Raw Normal View History

2024-07-08 21:04:23 +03:00
# syntax=docker/dockerfile:1
2025-07-24 01:18:17 +03:00
FROM ubuntu:22.04
2025-07-24 01:26:06 +03:00
# Install runtime dependencies including GUI libraries
2025-07-24 01:18:17 +03:00
RUN apt-get update && apt-get install -y \
ca-certificates \
2025-07-24 01:26:06 +03:00
libssl3 \
libgtk-3-0 \
libglib2.0-0 \
libcairo2 \
libpango-1.0-0 \
libatk1.0-0 \
libgdk-pixbuf2.0-0 \
libxdo3 \
2025-07-24 01:18:17 +03:00
&& rm -rf /var/lib/apt/lists/*
2025-07-24 03:11:53 +03:00
# Copy the appropriate binary based on the target architecture
ARG TARGETARCH
COPY bin/linux_${TARGETARCH}/khm /usr/local/bin/khm
2025-07-24 01:18:17 +03:00
RUN chmod +x /usr/local/bin/khm
2024-07-08 23:08:52 +03:00
ENTRYPOINT ["/usr/local/bin/khm"]