2020-06-17 22:55:24 +00:00
|
|
|
# syntax = docker/dockerfile
|
|
|
|
FROM ubuntu:18.04
|
|
|
|
|
|
|
|
WORKDIR /usr/agent
|
|
|
|
|
|
|
|
COPY . /usr/agent
|
|
|
|
|
2020-07-10 22:40:14 +00:00
|
|
|
ENV LC_ALL=en_US.UTF-8
|
|
|
|
ENV LANG=en_US.UTF-8
|
|
|
|
ENV LANGUAGE=en_US.UTF-8
|
|
|
|
ENV PYTHONIOENCODING=UTF-8
|
|
|
|
|
2020-06-17 22:55:24 +00:00
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get dist-upgrade -y
|
2020-07-10 22:40:14 +00:00
|
|
|
RUN apt-get install -y locales
|
|
|
|
|
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
|
|
2020-06-17 22:55:24 +00:00
|
|
|
RUN apt-get install -y curl python3-pip git
|
|
|
|
RUN curl -sSL https://get.docker.com/ | sh
|
|
|
|
RUN python3 -m pip install -U pip
|
2021-01-18 09:40:11 +00:00
|
|
|
RUN python3 -m pip install clearml-agent
|
2020-06-17 22:55:24 +00:00
|
|
|
RUN python3 -m pip install -U "cryptography>=2.9"
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/agent/entrypoint.sh"]
|