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:
- 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
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
You should have already install Docker.
Execute: 'docker run -t -i airdock/base:latest'
We recommend to you spending time to read few documentation on wiki:
- Docker Common Project Tree and build
- About user in Container if you do something with docker volume (and you will do...)
And little more, if you want to create your own docker images:
- Debian:jessy source
- Official Repositories
- Docker Best practices
- From Michael Crosby:
- update tiny and gosu
- remove alpine (stay focus on debian)
- mark this project as obsolete
- minimize layer count (optimize ENV declaration)
- introduce base from alpine
- integrate jessie and alpine as base image
- add tini process managment
- update gosu utility 1.9
- add 'docker' user (4242:4242)
- 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.
- Install "make" utility, and execute:
make build
- Or execute: 'docker build -t airdock/base:latest --rm .'
See Docker Project Tree for more details.
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.