An open API service indexing awesome lists of open source software.

https://github.com/stefaniuk/docker-ubuntu

Customised Ubuntu base image
https://github.com/stefaniuk/docker-ubuntu

docker-image ubuntu

Last synced: 12 months ago
JSON representation

Customised Ubuntu base image

Awesome Lists containing this project

README

          

[![Circle CI](https://circleci.com/gh/codeworksio/docker-ubuntu.svg?style=shield "CircleCI")](https://circleci.com/gh/codeworksio/docker-ubuntu) [![Size](https://images.microbadger.com/badges/image/codeworksio/ubuntu.svg)](http://microbadger.com/images/codeworksio/ubuntu) [![Version](https://images.microbadger.com/badges/version/codeworksio/ubuntu.svg)](http://microbadger.com/images/codeworksio/ubuntu) [![Commit](https://images.microbadger.com/badges/commit/codeworksio/ubuntu.svg)](http://microbadger.com/images/codeworksio/ubuntu) [![Docker Hub](https://img.shields.io/docker/pulls/codeworksio/ubuntu.svg)](https://hub.docker.com/r/codeworksio/ubuntu/)

Docker Ubuntu
=============

Customised Ubuntu base image.

Installation
------------

Builds of the image are available on [Docker Hub](https://hub.docker.com/r/codeworksio/ubuntu/).

docker pull codeworksio/ubuntu

Alternatively you can build the image yourself.

docker build --tag codeworksio/ubuntu \
github.com/codeworksio/docker-ubuntu

Configuration
-------------

* `/sbin/entrypoint.sh` is defined as the entrypoint
* `/sbin/init.d/*.sh` are sourced if present
* Use for example `CMD [ "/sbin/init.sh" ]` in a child image to run your process
* Docker environment variables
- `INIT_DEBUG=true` enable verbose output
- `INIT_TRACE=true` pass the main process to `strace` (use along with the Docker flag `--privileged`)
- `INIT_RUN_AS=root` start the main process as a privileged user
- `INIT_GOSU=true` make use of `gosu` (default)

Testing
-------

make build start bash
make stop

TODO
----

* Check if [Linux Enhanced BPF (eBPF)](http://www.brendangregg.com/ebpf.html) can provide better tracing than `strace`