close
Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-entrypoint

CircleCI Codacy Badge

Docker entrypoint which expands docker secrets into environment variables

Based on https://gist.github.com/bvis/b78c1e0841cfd2437f03e20c1ee059fe

Usage

In a Dockerfile:

FROM alpine

...

RUN apk --update-cache add ca-certificates wget && \
    update-ca-certificates && \
    wget https://raw.githubusercontent.com/adac-camping/docker-entrypoint/master/entrypoint.sh && \
    chmod +x entrypoint.sh

...

ENTRYPOINT ["./entrypoint.sh"]
CMD ["node", "./index.js"]

Check out the example docker-compose project in test/

About

Docker entrypoint which expands docker secrets into environment variables

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages