12 lines
256 B
Docker
12 lines
256 B
Docker
FROM alpine
|
|
|
|
# install packages
|
|
RUN apk add --no-cache tini wget
|
|
|
|
# copy entrypoint
|
|
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
|
|
|
# execute
|
|
ENTRYPOINT ["/sbin/tini", "--"]
|
|
CMD ["/usr/local/bin/entrypoint.sh"]
|