2024-12-19 12:12:22 -03:00
|
|
|
FROM bitnami/kubectl:1.31.1 AS kubectl
|
2024-12-18 14:34:22 -03:00
|
|
|
|
2024-12-19 12:12:22 -03:00
|
|
|
FROM python:3.12-slim
|
2024-12-18 14:34:22 -03:00
|
|
|
|
|
|
|
COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/kubectl
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y curl
|
|
|
|
|
2025-01-24 09:51:08 -03:00
|
|
|
RUN curl -SL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
|
2024-12-18 14:34:22 -03:00
|
|
|
RUN chmod 700 get_helm.sh
|
|
|
|
RUN ./get_helm.sh
|
|
|
|
|
2025-01-24 17:11:40 -03:00
|
|
|
RUN curl -SL "https://dl.min.io/client/mc/release/linux-$(dpkg --print-architecture)/mc" \
|
2025-01-24 09:51:08 -03:00
|
|
|
--create-dirs \
|
|
|
|
-o /usr/local/bin/mc && \
|
|
|
|
chmod +x /usr/local/bin/mc
|
|
|
|
|
2024-12-18 14:34:22 -03:00
|
|
|
RUN mkdir /opt/bittorrent-benchmarks
|
|
|
|
WORKDIR /opt/bittorrent-benchmarks
|
2024-12-19 12:12:22 -03:00
|
|
|
|
2024-12-18 15:07:17 -03:00
|
|
|
COPY ./k8s ./k8s
|
|
|
|
COPY ./docker ./docker
|
2024-12-19 20:22:29 -03:00
|
|
|
COPY ./benchmarks/k8s/parameter_expander.py .
|