Folder creation logic change
This commit is contained in:
parent
b21c915c72
commit
dd7045eda4
@ -4,12 +4,12 @@ FROM alpine:latest
|
|||||||
# Install necessary packages
|
# Install necessary packages
|
||||||
RUN apk --no-cache add git curl rsync
|
RUN apk --no-cache add git curl rsync
|
||||||
|
|
||||||
|
#Create Directory to store Repositories
|
||||||
|
RUN mkdir -p /srv/Repo_Cache
|
||||||
|
|
||||||
# Add script
|
# Add script
|
||||||
COPY repo_watcher.sh /srv/repo_watcher.sh
|
COPY repo_watcher.sh /srv/repo_watcher.sh
|
||||||
RUN chmod +x /srv/repo_watcher.sh
|
RUN chmod +x /srv/repo_watcher.sh
|
||||||
|
|
||||||
#Create Directory to store Repositories
|
|
||||||
RUN mkdir -p /srv/Repo_Cache
|
|
||||||
|
|
||||||
# Start script (Alpine uses /bin/sh instead of /bin/bash)
|
# Start script (Alpine uses /bin/sh instead of /bin/bash)
|
||||||
CMD ["/bin/sh", "-c", "/srv/repo_watcher.sh"]
|
CMD ["/bin/sh", "-c", "/srv/repo_watcher.sh"]
|
Loading…
x
Reference in New Issue
Block a user