Skip to content

sahlinet/docker-baselinux

Repository files navigation

These docker images can be used to simply start a Debian Linux container or to extend from for building a custom container. Services are started by [Supervisor][6].

Circle CI

Versions

Debian

See on Docker Hub

  • debian:wheezy, debian:latest

CentOS

See on Docker Hub

  • centos:7, centos:latest

Ubuntu

See on Docker Hub

  • ubuntu:precise
  • ubuntu:trusty, ubuntu:latest

Build

sh build.sh [centos, debian, ubuntu]

Run

sh run.sh [centos, debian, ubuntu]

or

docker run -d -p 10000:22 -t philipsahli/debian:latest
docker run -d -p 10001:22 -t philipsahli/centos:latest
docker run -d -p 10002:22 -t philipsahli/ubuntu:latest

Variables

Newrelic License Key

Newrelic is a platform for monitoring and analyse performance of servers and applications.

Specify the license key which is needed for the agent as environment variable NEWRELIC_LICENSE.

export NEWRELIC_LICENSE="8w9839d18d918d8189d819d9"
docker run -d -p 10000:22 -e NEWRELIC_LICENSE=$NEWRELIC_LICENSE -t philipsahli/debian

EXTEND FROM

If you want to use these images as base image, take the Dockerfile from the Nginx-Example

  • Add a shellscript with the prefix startup_ and suffix .sh (ie. startup_nginx.sh) to /.
  • Expose the additional ports for your application

Releases

No releases published

Packages

No packages published

Languages