Docker Super Container

A powerful Dockerfile script that will make a Monster Container with a complete development system ready to go!

Docker Super Container
credit unsplash.com Vishnu Mohanan

This Dockerfile is a monster putting a huge number of potent developmental tools into a single container:

  • Two users are created: 'root' pwd 'Docker!' and 'docker' pwd 'Docker!'
  • Port 222 is opened for ssh connections.
  • X-11 support / nmap  / vim is inherent.
FROM ubuntu:latest
ENV RED='\e[1;33m'
ENV CLR='\e[0m'

RUN printf "${RED}RUN apt-get update ${CLR}\n" 
RUN sleep 2
RUN apt-get update

RUN printf "${RED} RUN ap-get install -y wget build-essential checkinstall${CLR}\n"
RUN sleep 2
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y xserver-xorg-core
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y xserver-xorg
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget build-essential checkinstall nmap 
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y xauth 
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openbox
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y xorg
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y systemctl
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openssh-server
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openssh-client
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y iproute2

# Add in root:Docker!  and docker:Docker!
RUN echo "root:Docker!" | chpasswd
RUN adduser docker
RUN echo "docker:Docker!" | chpasswd

RUN printf "${RED} RUN apt-get install -y software-properties-common${CLR}\n" 
RUN sleep 2
RUN apt-get update
RUN apt-get install -y software-properties-common --fix-missing

RUN printf "${RED} RUN apt-get install -y apt-utils${CLR}\n"
RUN sleep 2
RUN apt-get install -y apt-utils

RUN printf "${RED} RUN add-apt-repository ppa:deadsnakes/ppa${CLR}\n"
RUN sleep 2
RUN add-apt-repository ppa:deadsnakes/ppa

RUN printf "${RED} RUN apt-get update${CLR}\n"
RUN sleep 2
RUN apt-get update

RUN printf "${RED} RUN apt-get install -y python3.10${CLR}\n"
RUN sleep 2
RUN apt-get install -y python3.10

RUN printf "${RED} RUN apt-get install -y python3-pip${CLR}\n"
RUN sleep 2
RUN apt-get install -y python3-pip

RUN printf "${RED} RUN apt-get install -y libcursesw5-dev${CLR}\n"
RUN sleep 2
RUN apt-get install -y libncursesw5-dev 

RUN printf "${RED} RUN apt-get install -y libssl-dev${CLR}\n"
RUN sleep 2
RUN apt-get install -y libssl-dev 

RUN printf "${RED} RUN apt-get install -y libsqlite3-dev${CLR}\n"
RUN sleep 2
RUN apt-get install -y libsqlite3-dev 

RUN printf "${RED} RUN apt-get install -y manpages-dev${CLR}\n"
RUN sleep 2
RUN apt-get install -y manpages-dev

RUN printf "${RED} RUN apt-get install -y lazarus-ide ${CLR}\n"
RUN sleep 2
RUN apt-get install -y lazarus-ide  

RUN printf "${RED} RUN apt-get install -y fp-units-rtl-3.2.2 ${CLR}\n"
RUN sleep 2
RUN apt-get install -y fp-units-rtl-3.2.2

RUN printf "${RED} RUN apt-get install -y fpc ${CLR}\n"
RUN sleep 2
RUN apt-get install -y fpc 

RUN printf "${RED} RUN apt-get install -y fpc-src${CLR}\n"
RUN sleep 2
RUN apt-get install -y fpc-source-3.2.2

RUN apt-get install -y fp-utils

RUN printf "${RED} RUN mkdir -p /files${CLR}\n"
RUN sleep 2
RUN mkdir -p /files

COPY *.xlsx /files/
COPY *.txt /files/

COPY sshd_config /etc/ssh/

RUN printf "${RED} RUN Installing Pycharm${CLR}\n"
RUN sleep 2
COPY *.gz /files/

RUN tar -xvf /files/*.gz
COPY *.zip /files/

RUN printf "${RED} RUN apt-get install zip unzip ${CLR}\n"
RUN sleep 2
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y zip unzip 
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y nano vim

#Add in netbeans here

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y default-jre
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y default-jdk dpkg 
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libc6-i386 libc6-x32

COPY *.deb /files/

RUN DEBIAN_FRONTEND=noninteractive dpkg -i /files/jdk.deb
RUN DEBIAN_FRONTEND=noninteractive add-apt-repository "deb http://archive.ubuntu.com/ubuntu focal universe"
RUN DEBIAN_FRONTEND=noninteractive apt update
RUN DEBIAN_FRONTEND=noninteractive dpkg -i /files/apache.deb

# Adding in vscode here
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y xdg-utils
RUN DEBIAN_FRONTEND=noninteractive dpkg -i /files/vscode.deb

# Add in scp rsync
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y rsync curl
RUN DEBIAN_FRONTEND=noninteractive curl -fsSL https://code-server.dev/install.sh | sh

RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-python.python
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-python.python
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-python.vscode-pylance
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-vscode-remote.remote-containers
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-azuretools.vscode-docker
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension vscodevim.vim
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension eamodio.gitlens
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension mtxr.sqltools
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension redhat.vscode-yaml
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-kubernetes-tools.vscode-kubernetes-tools
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension googlecloudtools.cloudcode
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension kevinrose.vsc-python-indent
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension njpwerner.autodocstring
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension wholroyd.jinja
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension batisteo.vscode-django
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension visualstudioexptteam.intellicode-api-usage-examples
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension donjayamanne.python-environment-manager
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension tht13.python
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension visualstudioexptteam.vscodeintellicode
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension donjayamanne.python-extension-pack
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension tushortz.python-extended-snippets
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension mgesbert.python-path
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-vscode.test-adapter-converter
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension seanwu.vscode-qt-for-python
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension hbenl.vscode-test-explorer
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension littlefoxteam.vscode-python-test-adapter
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension 076923.python-image-preview
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension njqdev.vscode-python-typehint
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension cstrap.python-snippets
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-vscode.cpptools
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension benjamin-simmonds.pythoncpp-debug
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension kaih2o.python-resource-monitor
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension mukundan.python-docs
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension xirider.livecode
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension geecode.geecode-python
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension magicstack.magicpython
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension danields761.dracula-theme-from-intellij-pythoned
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension yzhang.markdown-all-in-one
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension davidanson.vscode-markdownlint
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension nils-ballmann.python-coding-tools
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension editorconfig.editorconfig
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension wakatime.vscode-wakatime
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension aaron-bond.better-comments
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension magicstack.chromodynamics
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension shan.code-settings-sync
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension coenraads.bracket-pair-colorizer-2
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension emeraldwalk.runonsave
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension esbenp.prettier-vscode
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension formulahendry.code-runner
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension streetsidesoftware.code-spell-checker
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension spywhere.guides
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension almenon.arepl
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-vsliveshare.vsliveshare
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension fabioz.vscode-pydev
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-pyright.pyright
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension hbenl.vscode-test-explorer-liveshare
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension jillmnolan.python-essentials
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-toolsai.jupyter-keymap
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-toolsai.vscode-jupyter-slideshow
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-toolsai.vscode-jupyter-cell-tags
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-toolsai.jupyter-renderers
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-toolsai.jupyter
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ericsia.pythonsnippets3
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension leojhonsong.python-extension-pack
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension rickywhite.python-template-snippets
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension graykode.ai-docstring
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ahadcove.python-quick-print
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ptweir.python-string-sql
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension hyesun.py-paste-indent
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension akhail.darcula-theme-python
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension swellaby.python-pack
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension filwaline.vscode-postfix-python
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension patrick91.python-dependencies-vscode
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension alexrsagen.python-debug-address-prompt
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-vscode.anycode-python
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension eliazbobadilla.python-ultisnippets
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension austin.code-gnu-global
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-vscode.cpptools-themes
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-vscode.cmake-tools
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension jeff-hykin.better-cpp-syntax
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension twxs.cmake
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-vscode.cpptools-extension-pack
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension vadimcn.vscode-lldb
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension danielpinto8zz6.c-cpp-compile-run
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension franneck94.c-cpp-runner
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension mitaki28.vscode-clang
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension kaysonwu.cpptask
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension jbenden.c-cpp-flylint
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension danielpinto8zz6.c-cpp-project-generator
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension acharluk.easy-cpp-projects
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension davidbroetje.algorithm-mnemonics-vscode
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension vscjava.vscode-java-debug
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension vscjava.vscode-java-dependency
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension vscjava.vscode-maven
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension vscjava.vscode-spring-initializr
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension redhat.java
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension donjayamanne.javadebugger
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension vscjava.vscode-gradle
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension vscjava.vscode-java-test
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension youmaycallmev.vscode-java-saber
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension vscjava.vscode-java-pack
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension dsnake.java-debug
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension georgewfraser.vscode-javac
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension shengchen.vscode-checkstyle
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension caolin.java-run
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension sohibe.java-generate-setters-getters
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension xabikos.javascriptsnippets
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ithildir.java-properties
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension dgileadi.java-decompiler
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension ms-vscode.vscode-typescript-next
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension walkme.java-extension-pack
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension tushortz.java-imports-snippets
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension tushortz.java-snippets
RUN DEBIAN_FRONTEND=noninteractive code-server --install-extension mwpb.java-prettier-formatter

RUN printf "${RED} RUN pip3 install sgp4 and pip packages${CLR}\n"
RUN sleep 2
RUN pip3 install sgp4
RUN pip3 install orbit_predictor
RUN pip3 install pandas
RUN pip3 install bitstring
RUN pip3 install blinker
RUN pip3 install bluezero
RUN pip3 install bottle
RUN pip3 install bottle-sqlalchemy
RUN pip3 install bottle-sqlite
RUN pip3 install bottle-websocket
RUN pip3 install certifi
RUN pip3 install chardet
RUN pip3 install click
RUN pip3 install click-plugins
RUN pip3 install APScheduler
RUN pip3 install Brotli
RUN pip3 install Cython
RUN pip3 install Flask-SocketIO
RUN pip3 install Jinja2
RUN pip3 install Logbook
RUN pip3 install Mako
RUN pip3 install MarkupSafe
RUN pip3 install OpenWeb
RUN pip3 install PAM
RUN pip3 install beautifulsoup4
RUN pip3 install Pillow
RUN pip3 install PyGObject
RUN pip3 install PyICU
RUN pip3 install PyJWT
RUN pip3 install PyNaCl
RUN pip3 install PyQt5
RUN pip3 install PyYAML
RUN pip3 install pandas
RUN pip3 install pandas-alchemy
RUN pip3 install pandas-datacube
RUN pip3 install pint-pandas
RUN pip3 install pandas-vectors
RUN pip3 install pandas-orm
RUN pip3 install pandas-dedupe
RUN pip3 install pandas-ui
RUN pip3 install pandas-jsonlines
RUN pip3 install pyspark-pandas
RUN pip3 install pandas-multi
RUN pip3 install pandas-addons
RUN pip3 install pandas-utility
RUN pip3 install fast-pandas
RUN pip3 install matplotlib
RUN pip3 install orbit
RUN pip3 install orbiting
RUN pip3 install Spaceman3D
RUN pip3 install celest
RUN pip3 install pypredict
RUN pip3 install sgp4
RUN pip3 install sp3
RUN pip3 install pyspa
RUN pip3 install skykit
RUN pip3 install wis
RUN pip3 install gfc
RUN pip3 install tle-storage-service
RUN pip3 install passpredict
RUN pip3 install sentinel-toolkit
RUN pip3 install SatIOpsT
RUN pip3 install cmake
RUN pip3 install mysql-connector 
#RUN echo 'alias code="code --extensions-dir /vsext/"' >> ~/.bashrc 

ENTRYPOINT service ssh restart && bash

To build:

docker build . -t <name of image>

To run:

docker run -it -d --privileged --net=host --name=satetracker satetracker:1.0 
Linux Rocks Every Day