Skip to content
/ base Public
forked from minidocks/base

A minimal Alpine base image modified for Docker-friendliness

Notifications You must be signed in to change notification settings

jxpy/base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base image (minidocks/base)

The best docker container for developers. This is a very small container (total 7.5 Mb) based on Alpine image.

Inspiration:

Features

Host user id and group id

The base image matches your userid / groupid inside the container at runtime.

Inspiration:

rootfs

ssh

Supervise

Environment variables

  • ALIAS_*:

  • CLEAN:

  • ENV_FILE:

  • AUTO_CHOWN:

  • PATH_PREFIX:

  • PATH_SUFFIX:

  • CRON_USER_*:

  • CRON_SCHEDULE_*:

  • CRON_COMMAND_*:

  • STARTUP_COMMAND_*:

  • FILE_*_PATH:

  • FILE_*_CONTENT:

  • SUEXEC:

  • ID:

  • USER_NAME: User name. You can use $USERNAME to get current user name.

  • USER_ID: User ID. You can use $UID to get current user ID.

  • GROUP_NAME: User group name. You can use $(id -g -n $USERNAME) to get current user group name.

  • GROUP_ID: User group ID. You can use $(id -g $USERNAME) to get current user group ID.

  • USER_SHELL: User shell. Default value: /bin/bash.

  • USER_PASSWORD: User password. Default value: password.

  • USER_MASK: User mask.

  • PATH_HOME: Default value: /home/${HOST_USER_NAME}.

https://github.com/hejack0207/empty.c (sexpect)

Run GUI application

xhost +
docker run --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v `pwd`:/app -w /app minidocks/gimp

Tags

Tag Size
latest, 3.12
edge
3.12
build, 3.12-build
3.11
3.11-build
3.10
3.10-build
3.9
3.9-build
3.8
3.8-build
3.7
3.6
3.5

Inspiration

https://ypereirareis.github.io/blog/2015/12/01/docker-container-external-links-alias-hosts-unavailable/ https://jtreminio.com/blog/running-docker-containers-as-current-host-user

About

A minimal Alpine base image modified for Docker-friendliness

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 94.4%
  • Dockerfile 5.6%