Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.
/ shellinabox-alpine Public archive

ShellInABox Dockerfiles for minimal image based on Alpine Linux

License

Notifications You must be signed in to change notification settings

gerco/shellinabox-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WARNING

Shell in a box appears to have been abandoned and no longer compiles with vaguely recent versions of OpenSSL. Additionally, due to a bug in its code there is no way to disable SSL during compilation anymore so I can't update this repo to make it build again. I'm Archiving this repo and recommend https://hub.docker.com/r/wettyoss/wetty as a replacement.

shellinabox-alpine

ShellInABox Dockerfiles for minimal image based on Alpine Linux

What?

ShellInABox is a web-based terminal with which you can connect to a shell in a web browser.

Why?

I found the existing images for shellinabox too large. Most were based on some variation of Ubuntu or Debian linux and that installs way too many files and greatly increases the attack surface of any particular Docker image. To make this image as small as possible I took sukramlitt/docker-shellinabox and rebased it on Alpine Linux, a minimal Linux distribution with Busybox that looks like it was made for Docker.

How to build

  1. Use Dockerfile.build to build the shellinabox binary inside an Alpine Linux container
  2. Run the resulting container to obtain a tar.gz file with shellinabox files inside
  3. Build a new docker image based on a clean Alpine Linux image and install shellinabox

You can use the included build.sh script for how to build the image. After the build you can delete the gerco/shellinabox-alpine-build image as it is no longer needed.

How to use

By default, this image will connect to a shell inside a Docker container with almost no tools installed. Since this isn't particularly useful, you may want to consider building a new image based on this one that connects to an SSH host instead. See the included Dockerfile.ssh for how to do this.

WARNING!

There is NO security in this image, it even disables SSL in this version. To use this on the public internet would be extremely irresponsible. Either enable SSL or run this behind a reverse proxy that provides SSL. Consider yourself warned!

About

ShellInABox Dockerfiles for minimal image based on Alpine Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published