22317: Get compute node settings from cluster configuration
[arvados.git] / tools / cluster-activity / cluster-activity.dockerfile
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 FROM debian:12
6 RUN DEBIAN_FRONTEND=noninteractive apt-get update -q && apt-get install -qy --no-install-recommends \
7     python3-dev python3-venv libcurl4-gnutls-dev libgnutls28-dev build-essential
8 COPY *.tar.gz /root
9 RUN python3 -mvenv /usr/local/cluster-activity && \
10     /usr/local/cluster-activity/bin/pip install \
11     $(ls /root/arvados-python-client-*.tar.gz) \
12     $(ls /root/arvados-cluster-activity-*.tar.gz)\[prometheus\] && \
13     ln -s /usr/local/cluster-activity/bin/arv-cluster-activity /usr/local/bin