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.
25 lines
639 B
25 lines
639 B
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
|