14 lines
290 B
Text
14 lines
290 B
Text
|
FROM alpine:3.19
|
||
|
|
||
|
# install packages
|
||
|
RUN apk add --no-cache tini wget
|
||
|
RUN rm -fr /var/cache/apk/*
|
||
|
|
||
|
# 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"]
|