Giter VIP home page Giter VIP logo

martinussuherman / alpine Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 4.0 52 KB

Alpine Linux or Minimal Alpine Linux with glibc based image that bundles tzdata, su-exec, and some useful entrypoint scripts.

Home Page: https://hub.docker.com/r/martinussuherman/alpine

License: MIT License

Shell 11.15% Dockerfile 88.85%
docker dockerfile docker-image alpine-linux su-exec tzdata glibc entrypoint-scripts alpine

alpine's Introduction

martinussuherman/alpine

CodeFactor GitHub Docker Pulls Docker Stars

Docker Build and Push Image

From Alpine Docker Image Version (tag latest semver) Docker Image Size (tag)

From Jeanblanchard/Alpine-glibc Docker Image Version (tag latest semver) Docker Image Size (tag)


What is this image for ?

This is an Alpine Linux or Minimal Alpine Linux image with glibc based image that bundles tzdata, su-exec, and some useful entrypoint scripts.


  • set-user-group-home

    Creates/updates user with userid, group, groupid and home directory. The group and the home directory are assigned to the user, with shell set based on values of environment variable ENOLOGIN (see below for more info).

    User created/updated from environment variable EUSER (default docker-user), with uid from environment variable EUID (default 1001).

    Group created/updated from environment variable EGROUP (default docker-group), with gid from environment variable EGID (default 1001).

    Home directory created/updated from environment variable EHOME (default /home/docker-user).

    If variable ENOLOGIN equals yes then use /sbin/nologin as shell, else use default shell (/bin/sh).

    If variable ECHOWNHOME equals yes then the home directory will be chown'ed to EUSER:EGROUP


  • chown-path

    Chown directories in ECHOWNDIRS, create them if not exist. Chown files in ECHOWNFILES, create them if not exist.


  • entrypoint-su-exec [command] [params...]

    First creates/updates user, group and home directory, by executing set-user-group-home. Then uses su-exec to exec $ENTRYPOINT_COMMAND with the given parameters as the user $EUSER.


  • entrypoint-exec [command] [params...]

    First creates/updates user, group and home directory, by executing set-user-group-home. Then uses exec to exec $ENTRYPOINT_COMMAND with the given parameters (as root).


  • entrypoint-crond [params...]

    First creates/updates user, group and home directory, by executing set-user-group-home. Then sets the crontab file $CROND_CRONTAB as the crontab of the user $EUSER. Finally executes crond with the given parameters.


alpine's People

Contributors

martinussuherman avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

alpine's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.