FROM debian:trixie-slim ARG LAP_VER ENV VERSION=${LAP_VER} # Install required dependencies RUN apt update && \ apt install -y curl RUN echo "Installing lapdev package." && \ curl -sL -o /tmp/lapdev_${VERSION}-1_amd64.deb https://fung.uy/mycosystems/lapdev/releases/download/v${VERSION}/lapdev_${VERSION}-1_amd64.deb && \ dpkg -i /tmp/lapdev_${VERSION}-1_amd64.deb RUN apt-get clean RUN rm /tmp/* WORKDIR /var/lib/lapdev CMD ["/usr/bin/lapdev"]