Sign inSign up

mariquit/unixshell

By mariquit

•Updated about 5 years ago

A unix shell running on Ubuntu 20.04, built for use with AWS and Azure

Image
0

345

mariquit/unixshell repository overview

⁠Unix Shell

A unix shell running on Ubuntu 20.04 minimal image with some additional packages for orchestration and the cloud. Currently there are several versions of the image:

ImagePull CommandNotes
basedocker pull mariquit/unixshell:baseminimal Ubuntu image
devtoolsdocker pull mariquit/unixshell:devtoolssame as base +devtools
deployment / cloudreadydocker pull mariquit/unixshell:cloudreadysame as devtools +deployment
awsdocker pull mariquit/unixshell:awssame as cloudready +aws
azuredocker pull mariquit/unixshell:azuresame as cloudready +azure
clouddocker pull mariquit/unixshell:cloudsame as cloudready +aws +azure

⁠Persistence

There is a pre-defined work directory named /root/unixshell. This is empty by default, and is meant to serve as a workarea.

The shell is configured to add to the PATH if a /root/unixshell/bin is found. This makes it easy for users to be able to use their custom scripts.

Example use: docker run -v /home/user/folder:/root/unixshell -it --rm mariquit/unixshell:cloud

Advanced example:

docker run \
  -v /home/user/.ssh:/root/.ssh:ro \
  -v /home/user/.aws:/root/.aws \
  -v /home/user/workdir:/root/unixshell \
  -it --rm mariquit/unixshell:cloud

⁠Image Versions

⁠base

docker pull mariquit/unixshell:base

Minimal image with some basic packages useful for checking connectivity and looking at files/logs.

                                   \\\///
                                  / _  _ \
                                (| (.)(.) |)
.-----------------------------.OOOo--()--oOOO.----------------------------.
|                                                                         |
| Ubuntu 20.04 minimal                                                    |
| ----------                                                              |
|    ccze 0.2.1-4build1                            mtr 0.93-1             |
|    curl 7.68.0-1ubuntu2.6                  multitail 6.4.2-3build2      |
|     git 1:2.25.1-1ubuntu3.1           netcat-openbsd 1.206-1ubuntu1     |
|   gnupg 2.2.19-3ubuntu2.1                       nmap 7.80+dfsg1-2build1 |
|    htop 2.2.0-2build1                 openssh-client 1:8.2p1-4ubuntu0.3 |
|  httpie 1.0.3-2                              openssl 1.1.1f-1ubuntu2.8  |
| httping 2.5-5                                  p7zip 16.02+dfsg-7build1 |
|  icdiff 1.9.5-1                                rsync 3.1.3-8            |
|      jq 1.6-1ubuntu0.20.04.1                  screen 4.8.0-1ubuntu0.1   |
|    less 551-1ubuntu0.1             silversearcher-ag 2.2.0-1            |
|    lftp 4.8.4-2build3                           tmux 3.0a-2ubuntu0.3    |
|      mc 3:4.8.24-2ubuntu1                       wget 1.20.3-1ubuntu1    |
|                                                                         |
'----------------------------.oooO----------------------------------------'
                              (   )   Oooo.
                               \ (    (   )
                                \_)    ) /
                                      (_/
⁠devtools

docker pull mariquit/unixshell:devtools

Similar to the base image, with additional language tools (Python and NodeJS). Google Chrome and ChromeDriver is included for easier setup with Selenium and such.

                                \\\///
                               / _  _ \
                             (| (.)(.) |)
.--------------------------.OOOo--()--oOOO.-------------------------.
|                                                                   |
| Ubuntu 20.04 minimal +devtools                                    |
|                                                                   |
|    node 16.9.1                                Python 3.9.5        |
|     npm 7.23.0                          ChromeDriver 93.0.4577.63 |
|                                                                   |
'-------------------------.oooO-------------------------------------'
                           (   )   Oooo.
                            \ (    (   )
                             \_)    ) /
                                   (_/
⁠deployment (a.k.a. cloudready)

docker pull mariquit/unixshell:cloudready

Built on top of the devtools image with but added deployment tools like Terraform and Ansible.

                                \\\///
                               / _  _ \
                             (| (.)(.) |)
.--------------------------.OOOo--()--oOOO.-------------------------.
|                                                                   |
| Ubuntu 20.04 minimal +devtools +deployment                        |
|                                                                   |
|    node 16.9.1                                Python 3.9.5        |
|     npm 7.23.0                          ChromeDriver 93.0.4577.63 |
| ansible 2.9.6                              Terraform 1.0.6        |
|  Packer 1.7.4                         docker-machine 0.16.2       |
|                                                                   |
'-------------------------.oooO-------------------------------------'
                           (   )   Oooo.
                            \ (    (   )
                             \_)    ) /
                                   (_/
⁠aws

docker pull mariquit/unixshell:aws

Built on top of the cloudready image, this is customized specific for AWS. saml2aws helps with using the CLI with accounts that use SSO or federated logins.

                                \\\///
                               / _  _ \
                             (| (.)(.) |)
.--------------------------.OOOo--()--oOOO.-------------------------.
|                                                                   |
| Ubuntu 20.04 minimal +devtools +deployment +aws                   |
|                                                                   |
|    node 16.9.1                                Python 3.9.5        |
|     npm 7.23.0                          ChromeDriver 93.0.4577.63 |
| ansible 2.9.6                              Terraform 1.0.6        |
|  Packer 1.7.4                         docker-machine 0.16.2       |
| aws-cli 2.2.37                              saml2aws 2.32.0       |
|                                                                   |
'-------------------------.oooO-------------------------------------'
                           (   )   Oooo.
                            \ (    (   )
                             \_)    ) /
                                   (_/
⁠azure

docker pull mariquit/unixshell:azure

Built on top of the cloudready image, this is customized specific for Azure. In case az login fails to open a browser to the Azure sign-in page, kindly open a browser page at https://aka.ms/devicelogin⁠ and enter the authorization code displayed in your terminal.

                                \\\///
                               / _  _ \
                             (| (.)(.) |)
.--------------------------.OOOo--()--oOOO.-------------------------.
|                                                                   |
| Ubuntu 20.04 minimal +devtools +deployment +azure                 |
|                                                                   |
|    node 16.9.1                                Python 3.9.5        |
|     npm 7.23.0                          ChromeDriver 93.0.4577.63 |
| ansible 2.9.6                              Terraform 1.0.6        |
|  Packer 1.7.4                         docker-machine 0.16.2       |
| kubectl 1.22.1                             azure-cli 2.28.0       |
|                                                                   |
'-------------------------.oooO-------------------------------------'
                           (   )   Oooo.
                            \ (    (   )
                             \_)    ) /
                                   (_/
⁠cloud

docker pull mariquit/unixshell:cloud

Built on top of the cloudready image, this combines the AWS and Azure CLI, plus some other tools like aegea and ops-cli

                                \\\///
                               / _  _ \
                             (| (.)(.) |)
.--------------------------.OOOo--()--oOOO.-------------------------.
|                                                                   |
| Ubuntu 20.04 minimal +devtools +deployment +aws +azure            |
|                                                                   |
|    node 16.9.1                                Python 3.9.5        |
|     npm 7.23.0                          ChromeDriver 93.0.4577.63 |
| ansible 2.9.6                              Terraform 1.0.6        |
|  Packer 1.7.4                         docker-machine 0.16.2       |
| aws-cli 2.2.37                              saml2aws 2.32.0       |
| kubectl 1.22.1                                 aegea 4.0.0        |
| azure-cli 2.28.0                               ops-cli 2.0.11     |
|                                                                   |
'-------------------------.oooO-------------------------------------'
                           (   )   Oooo.
                            \ (    (   )
                             \_)    ) /
                                   (_/

⁠To-do List

Add additional packages/support for

  • Powershell
  • OpenJDK
  • Maven

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

about 5 years ago

docker pull mariquit/unixshell:cloud