bittorrent-benchmarks/docker/bittorrent-benchmarks-workflows.Dockerfile

24 lines
660 B
Docker
Raw Normal View History

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
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
RUN curl -SL "https://dl.min.io/client/mc/release/linux-$(dpkg --print-architecture)/mc" \
--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
COPY ./benchmarks/k8s/parameter_expander.py .