Add Dockerfile

This commit is contained in:
Ludeeus
2021-08-16 12:15:39 +00:00
parent 135ae64ce4
commit 008124ee13
+46
View File
@@ -0,0 +1,46 @@
FROM ghcr.io/ludeeus/alpine/base:stable
# docker build . -f tools/Dockerfile --tag repositories
# docker run --rm --name repositories sleep 3600
# docker exec -it repositories bash
# COPY ./netdaemon /data/
# RUN \
# for entry in $(jq -r .[] /data/netdaemon); do\
# git clone --depth 1 "https://github.com/${entry}.git" "/netdaemon/${entry}";\
# done
#
#
# COPY ./appdaemon /data/
# RUN \
# for entry in $(jq -r .[] /data/appdaemon); do\
# git clone --depth 1 "https://github.com/${entry}.git" "/appdaemon/${entry}";\
# done
#
#
# COPY ./python_script /data/
# RUN \
# for entry in $(jq -r .[] /data/python_script); do\
# git clone --depth 1 "https://github.com/${entry}.git" "/python_script/${entry}";\
# done
#
#
# COPY ./theme /data/
# RUN \
# for entry in $(jq -r .[] /data/theme); do\
# git clone --depth 1 "https://github.com/${entry}.git" "/theme/${entry}";\
# done
#
#
# COPY ./plugin /data/
# RUN \
# for entry in $(jq -r .[] /data/plugin); do\
# git clone --depth 1 "https://github.com/${entry}.git" "/plugin/${entry}";\
# done
#
#
# COPY ./integration /data/
# RUN \
# for entry in $(jq -r .[] /data/integration); do\
# git clone --depth 1 "https://github.com/${entry}.git" "/integration/${entry}";\
# done