Skip to content

Commit

Permalink
[skip travis] Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
madharjan committed Apr 27, 2019
1 parent aaf3639 commit 1fbd041
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# docker-base

[![](https://images.microbadger.com/badges/image/madharjan/docker-base.svg)](http://microbadger.com/images/madharjan/docker-base "Get your own image badge on microbadger.com")
[![Build Status](https://travis-ci.com/madharjan/docker-base.svg?branch=master)](https://travis-ci.com/madharjan/docker-base)
[![Layers](https://images.microbadger.com/badges/image/madharjan/docker-base.svg)](http://microbadger.com/images/madharjan/docker-base)

Docker baseimage based on [phusion/baseimage-docker](https://github.com/phusion/baseimage-docker)

**Changes**
## Changes

* Removed `ssh` service

**Features**
## Features

* Environment variables to disable services
* Using scripts in `my_init.d` to initialize services (e.g base-startup.sh, nginx-startup.sh .. etc)
* Using scripts in `my_shutdown.d` to cleanup services before container stop (e.g postfix-stop.sh ..etc)
* Bats ([sstephenson/bats](https://github.com/sstephenson/bats/)) based test cases

Example:
```

```bash
docker run -d \
-e DISABLE_SYSLOG=1 \
-e DISABLE_CRON=0 \
Expand All @@ -23,7 +27,7 @@ docker run -d \

## Ubuntu 14.04 (docker-base)

**Environment**
### Environment

| Variable | Default | Set to disable |
|----------------|---------|----------------|
Expand All @@ -33,13 +37,15 @@ docker run -d \
## Build

### Clone this project
```

```bash
git clone https://github.com/madharjan/docker-base
cd docker-base
```

### Build Container `baseimage`
```

```bash
# login to DockerHub
docker login

Expand All @@ -59,8 +65,9 @@ make tag_latest
make release
```

**Tag and Commit to Git**
```
### Tag and Commit to Git

```bash
git tag 14.04
git push origin 14.04
```

0 comments on commit 1fbd041

Please sign in to comment.