Sign inSign up

nutshells/base

By nutshells

•Updated almost 7 years ago

The base image of Project Nutshells 🌰

Image
1

1.5K

nutshells/base repository overview

⁠Base Image of Project Nutshells 🌰

Project Nutshells Docker Build Build Status Alpine Based CentOS Based MIT License

⁠Variants:

TagDescription🐳
:latestBased on alpine:latest, includes a handy tool named su-exec⁠ to exec cmds with different privileges in containers.Dockerfile
:edgeBased on alpine:edge.Dockerfile
:centosBased on centos:latest with EPEL⁠ & gosu⁠ pre-installed.Dockerfile

⁠Usage

⁠Customizing the image
⁠By modifying the dockerfile

You may want to make some modifications to the image. Pull the source code from GitHub, customize it, then build one by yourself:

Get <img_tag> & <dockerfile_name> from this sheet⁠.

git clone --depth 1 https://github.com/quchao/nutshells.git
docker image build \
       -q=false --rm=true --no-cache=true \
       -t nutshells/base<img_tag> \
       -f ./base/<dockerfile_name> \
       ./base
⁠By committing the changes on a container

Otherwise just pull the image from the official registry, start a container and get a shell to it, commit the changes⁠ afterwards.

docker container commit --change "Commit msg" <container_name> nutshells/base

⁠Contributing

Github Starts Twitter Followers

Follow GitHub's How-to⁠ guide for the basis.

Contributions are always welcome in many ways:

  • Give a star to show your fondness;
  • File an issue⁠ if you have a question or an idea;
  • Fork this repo and submit a PR⁠;
  • Improve the documentation.

⁠Todo

  • Extract common code of entrypoint script into a shared lib.
  • Rewrite the examples according to the new sub-commands since docker 1.13+.

⁠Acknowledgments & Licenses

Unless specified, all codes of Project Nutshells are released under the MIT License⁠.

Other relevant softwares:

Tag summary

Content type

Image

Digest

Size

3.4 MB

Last updated

almost 7 years ago

docker pull nutshells/base