asdf
This commit is contained in:
parent
a570ba51e5
commit
5415f58c33
@ -5,10 +5,11 @@ FROM alpine:latest
|
|||||||
RUN apk --no-cache add git curl rsync
|
RUN apk --no-cache add git curl rsync
|
||||||
|
|
||||||
# Add script
|
# Add script
|
||||||
COPY repo_watcher.sh /root/Repo_Watcher/repo_watcher.sh
|
COPY repo_watcher.sh /repo_watcher.sh
|
||||||
|
RUN chmod +x /repo_watcher.sh
|
||||||
|
|
||||||
# Make script executable
|
#Create Directory to store Repositories
|
||||||
RUN chmod +x /root/Repo_Watcher/repo_watcher.sh
|
RUN mkdir -p /root/Repo_Watcher
|
||||||
|
|
||||||
# Start script (Alpine uses /bin/sh instead of /bin/bash)
|
# Start script (Alpine uses /bin/sh instead of /bin/bash)
|
||||||
CMD ["/bin/sh", "-c", "/root/Repo_Watcher/repo_watcher.sh"]
|
CMD ["/bin/sh", "-c", "/repo_watcher.sh"]
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# Function to process each repo-destination pair
|
# Function to process each repo-destination pair
|
||||||
process_repo() {
|
process_repo() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user