Skip to content

Alpine-based baseimage and entrypoint.sh script with tini and su-exec

License

Notifications You must be signed in to change notification settings

kudato/baseimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baseimage Build Status

Alpine-based baseimage and entrypoint.sh script with tini and su-exec.

Usage

FROM kudato/baseimage:alpine

RUN apk add ...
COPY myscript.sh .

CMD [ "myscript.sh" ]

Supported tags

See on Docker Hub page.

Environment variables

  • TZ - set timezone(default UTC);
  • CMD_USER - specify user(default root);
  • CMD_USER_UID - specify user uid;
  • USER_SHELL - specify user;
  • [...]_INIT_SCRIPT=path_to_file - run script before main command, to run multiple scripts, create variables with unique names for each.

Tests

  • Install docker and docker-compose;
  • export FROM=alpine:latest and docker-compose up --build.

About

Alpine-based baseimage and entrypoint.sh script with tini and su-exec

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published