Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

airdock-io/docker-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-base

This project is no longer actively maintained.

Back in 2017, few open source project provide docker image, etc and our jobs had a real nice goal. Now (2023), all open source community is mature, provides tools and images more than we needs. Thanks to all members for their time and effort.

This project define our base image which rely on debian:jessie

Name: airdock/base

Tags:

  • latest, jessie: based on debian jessie

Features

Common Features

  • Add gosu Jessie or su-exec Alpine
  • add tini
  • Add utility to create new container user with specific uid:gid (script '/root/create-user'). Note that since few year, se commonly use user 1000:1000 inside container.
  • Following FHS standard.
  • Add utility to clean up image during docker build (script '/root/post-install')
  • Define standard application user (with gosu/su-exec, you have all to run docker container with a user other than root)
  • Define LANG to en_US.UTF-8

Debian Jessie

Under 'jessie' folder you could retreive:

  • Add curl (often used ...)
  • Apply security update if necessary
  • Fix some common docker build issue with apt-get
  • Define a root bash friendly for debug use

Usage

You should have already install Docker.

Execute: 'docker run -t -i airdock/base:latest'

Reading

We recommend to you spending time to read few documentation on wiki:

And little more, if you want to create your own docker images:

Change Log

2020/11/21

  • update tiny and gosu
  • remove alpine (stay focus on debian)
  • mark this project as obsolete

2016/12/23

  • minimize layer count (optimize ENV declaration)

2016/12/21

  • introduce base from alpine
  • integrate jessie and alpine as base image
  • add tini process managment

2016/12/18

  • update gosu utility 1.9
  • add 'docker' user (4242:4242)

before

  • use debian jessie distribution as our default system
  • add gosu utility (1.7)
  • configure default locale to en_US.UTF-8, set LC_ALL and LANG variable
  • default command to "/bin/bash" with initialized shell
  • fix build issue with docker (apt-get usage with term dialog, no init.d, add apt-utils)
  • use MIT license
  • set default working directory to /root,
  • add few common aliases (see Alias for more)
  • add create-user script (utility to create 'standard user account')
  • add post-install script (utility to clean up image in dockerfile )
  • create all common user account used in airdock images
  • define base of user and group identifier (4200) define in airdock images
  • define '/srv/{user}' as data folder for application user with links on '/var/lib/{user}' for backward compatibility.

Build

  • Install "make" utility, and execute: make build
  • Or execute: 'docker build -t airdock/base:latest --rm .'

See Docker Project Tree for more details.

MIT License

The MIT License (MIT)

Copyright (c) 2015 Airdock.io

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

About

Base image for docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published