mirror of
https://github.com/clearml/clearml-agent
synced 2025-01-31 09:06:52 +00:00
19 lines
421 B
Docker
19 lines
421 B
Docker
# syntax = docker/dockerfile
|
|
FROM nvidia/cuda
|
|
|
|
WORKDIR /usr/agent
|
|
|
|
COPY . /usr/agent
|
|
|
|
RUN apt-get update
|
|
RUN apt-get dist-upgrade -y
|
|
RUN apt-get install -y curl python3-pip git
|
|
RUN curl -sSL https://get.docker.com/ | sh
|
|
RUN python3 -m pip install -U pip
|
|
RUN python3 -m pip install trains-agent
|
|
RUN python3 -m pip install -U "cryptography>=2.9"
|
|
|
|
ENV TRAINS_DOCKER_SKIP_GPUS_FLAG=1
|
|
|
|
ENTRYPOINT ["/usr/agent/entrypoint.sh"]
|