You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
639 B

3 years ago
  1. FROM ubuntu:latest
  2. LABEL maintainer="Mohammad Akbari"
  3. WORKDIR /
  4. ENV DEBIAN_FRONTEND noninteractive
  5. ENV TZ="Asia/Tehran"
  6. USER root
  7. RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
  8. RUN apt-get update -y && \
  9. apt-get full-upgrade -y && \
  10. apt-get autoremove -y && \
  11. apt-get autoclean -y && \
  12. apt-get install -y gcc python-dev libkrb5-dev && \
  13. apt-get install python3-pip -y && \
  14. pip3 install --upgrade pip && \
  15. pip3 install --upgrade virtualenv && \
  16. pip3 install pywinrm[kerberos] && \
  17. apt install krb5-user -y && \
  18. pip3 install pywinrm && \
  19. pip3 install ansible