2024-06-07 01:30:12 +00:00
|
|
|
FROM alpine
|
2024-06-06 21:27:05 +00:00
|
|
|
|
|
|
|
# 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
|
2024-06-07 01:30:12 +00:00
|
|
|
ENTRYPOINT ["/sbin/tini", "--"]
|
2024-06-06 21:27:05 +00:00
|
|
|
CMD ["/usr/local/bin/entrypoint.sh"]
|