FROM ubuntu:latest LABEL maintainer="Mohammad Akbari" WORKDIR / ENV DEBIAN_FRONTEND noninteractive ENV TZ="Asia/Tehran" USER root RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update -y && \ apt-get full-upgrade -y && \ apt-get autoremove -y && \ apt-get autoclean -y && \ apt-get install -y gcc python-dev libkrb5-dev && \ apt-get install python3-pip -y && \ pip3 install --upgrade pip && \ pip3 install --upgrade virtualenv && \ pip3 install pywinrm[kerberos] && \ apt install krb5-user -y && \ pip3 install pywinrm && \ pip3 install ansible