Dockerfile
FROM ubuntu:22.04
LABEL maintainer="Maurice Ruckman"
WORKDIR /home
RUN echo 'Acquire { http::User-Agent "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"; };' >> /etc/apt/apt.conf
## Refer: https://stackoverflow.com/questions/28405902/how-to-set-the-locale-inside-a-debian-ubuntu-docker-container
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
## SET TIMEZONE - THIS NEEDS TO GO FIRST TO FIX OTHER COMPONENTS
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update
RUN echo "America/Los_Angeles" > /etc/timezone
RUN apt-get install -y tzdata
RUN ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
RUN dpkg-reconfigure -f noninteractive tzdata
## BASIC TOOLS
RUN apt-get -y update
RUN apt-get -y install
RUN apt-get -y upgrade
RUN apt-get -y dist-upgrade
RUN apt-get -y autoremove
RUN apt-get -y install wget
RUN apt-get -y install curl
RUN apt-get -y install git
RUN git config --global http.sslVerify false
RUN apt-get -y install zip
RUN apt-get -y install build-essential
RUN apt-get -y install rsync
RUN apt-get -y install nano
## INSTALL PYTHON LIBRARIES
## REFER: https://linuxize.com/post/how-to-install-pip-on-ubuntu-20.04/
## RUN wget https://bootstrap.pypa.io/get-pip.py --output get-pip.py
RUN apt-get -y install python3-dev
RUN apt-get -y install pip
RUN pip install --upgrade pip
RUN pip install JayDeBeApi
RUN pip install bs4
RUN pip install beautifulsoup4
RUN pip install lxml
RUN pip install requests
RUN pip install flask
RUN pip install pymongo
RUN pip install pytz
RUN pip install xlwt
RUN pip install progressbar
RUN pip install pandas
RUN pip install openpyxl
## INSTALL PYTHON3 LIBRARIES
RUN apt-get -y install libssl-dev
RUN apt-get -y install libffi-dev
RUN apt-get -y install python3-dev
RUN apt-get -y install python3-pip
RUN python3 -m pip install --upgrade pip
RUN pip3 install JayDeBeApi
RUN pip3 install bs4
RUN pip3 install beautifulsoup4
RUN pip3 install lxml
RUN pip3 install requests
RUN pip3 install flask
RUN pip3 install pymongo
RUN pip3 install pytz
RUN pip3 install xlwt
RUN pip3 install progressbar
RUN pip3 install pandas
RUN pip3 install openpyxl
## ENTRY POINT
CMD ["/bin/bash"]
Content type
Image
Digest
sha256:d448b4e4a…
Size
286.9 MB
Last updated
almost 4 years ago
docker pull mruckman/ubuntu2204-python:224201