-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
FROM --platform=linux/amd64 centos:centos7.9.2009 as builder | ||
MAINTAINER "MFTLABS" | ||
WORKDIR /apps | ||
RUN yum -y update; yum clean all | ||
RUN yum -y install sudo epel-release; yum clean all | ||
RUN yum install -y net-tools wget perl-core zlib-devel wget && yum -y groups mark install "Development Tools" && yum -y groups mark convert "Development Tools" && yum -y groupinstall "Development Tools" && yum install -y openssl-devel && yum install -y libffi-devel && yum clean all | ||
RUN wget https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz && tar -xvf Python-3.8.5.tgz && cd Python-3.8.5 && ./configure --enable-optimizations && make altinstall && cd .. && rm -rf Python-3.8.5.tgz && rm -rf Python-3.8.5 | ||
RUN wget https://bootstrap.pypa.io/get-pip.py && python3.8 get-pip.py && rm -rf get-pip.py | ||
RUN pip3.8 install --upgrade pip | ||
RUN pip3.8 install --upgrade setuptools | ||
RUN pip3.8 install --upgrade wheel | ||
RUN pip3.8 install --upgrade pyyaml | ||
RUN pip3.8 install --upgrade requests | ||
RUN pip3.8 install --upgrade jinja2 | ||
RUN pip3.8 install --upgrade pysftp | ||
RUN pip3.8 install --upgrade attrdict | ||
RUN yum install gtk3-devel -y | ||
RUN yum install which -y | ||
RUN pip3.8 install --upgrade pytz | ||
RUN pip3.8 install --upgrade robotframework | ||
RUN pip3.8 install --upgrade robotframework-sshlibrary | ||
RUN pip3.8 install --upgrade robotframework-seleniumlibrary | ||
RUN pip3.8 install --upgrade robotframework-requests | ||
RUN pip3.8 install --upgrade robotframework-httplibrary | ||
RUN pip3.8 install --upgrade robotframework-archivelibrary | ||
RUN pip3.8 install --upgrade robotframework-difflibrary | ||
RUN pip3.8 install --upgrade robotframework-jsonlibrary | ||
RUN pip3.8 install --upgrade httplib2 | ||
RUN pip3.8 install --upgrade beautifulsoup4 | ||
RUN pip3.8 install --upgrade splinter | ||
RUN pip3.8 install --upgrade automagica | ||
RUN useradd -u 1010 mftadmin && usermod -aG wheel mftadmin | ||
RUN echo "mftadmin ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | ||
RUN echo "mftadmin:@Dmin123" | chpasswd | ||
RUN unlink /usr/bin/python && ln -s /usr/local/bin/python3.8 /usr/bin/python | ||
USER mftadmin | ||
CMD ["/bin/bash", "-c", "--", "while true; do sleep 30; done;"] | ||
#RUN pip3.8 install --upgrade robotframework-ride | ||
#RUN mkdir -p /apps/install/robotframework && cd /apps/install/robotframework && git clone https://github.com/robotframework/RIDE.git && cd RIDE && pip3.8 install -r requirements.txt | ||
|
||
|
||
|
||
|