File tree Expand file tree Collapse file tree 6 files changed +21
-21
lines changed
Expand file tree Collapse file tree 6 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ RUN \
7070 && rm -rf /tmp/*
7171
7272VOLUME ["/config" ]
73- RUN mkdir -p /extra-scripts \
74- && chown -R notroot:notroot /extra-scripts \
75- && chmod -R 775 /extra-scripts
76- COPY ./apps/alpine/scripts /scripts
73+ RUN mkdir -p /extra_scripts \
74+ && chown -R notroot:notroot /extra_scripts \
75+ && chmod -R 775 /extra_scripts
76+ COPY ./apps/alpine/scripts /prom_scripts
7777COPY --chmod=0755 apps/alpine/base-entrypoint.sh /base-entrypoint.sh
7878COPY --chmod=0755 apps/alpine/promknight-entrypoint.sh /promknight-entrypoint.sh
7979COPY --from=builder /go/bin/envsubst /usr/local/bin/envsubst
Original file line number Diff line number Diff line change 44
55echo " Based on work by funky penguin @elfhosted/containers"
66
7- source " /scripts /wait-for-vpn.sh"
8- source " /scripts /wait-for-urls.sh"
9- source " /scripts /wait-for-mounts.sh"
10- source " /scripts /umask.sh"
11- source " /scripts /extra-scripts.sh"
7+ source " /prom_scripts /wait-for-vpn.sh"
8+ source " /prom_scripts /wait-for-urls.sh"
9+ source " /prom_scripts /wait-for-mounts.sh"
10+ source " /prom_scripts /umask.sh"
11+ source " /prom_scripts /extra-scripts.sh"
1212
1313exec /promknight-entrypoint.sh
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # Execute any scripts found in /extra-scripts
4- for SCRIPT in $( ls /extra-scripts ) ; do
3+ # Execute any scripts found in /extra_scripts
4+ for SCRIPT in $( ls /extra_scripts ) ; do
55 bash -c $SCRIPT
66done
Original file line number Diff line number Diff line change @@ -104,10 +104,10 @@ RUN \
104104ENV LANG en_US.UTF-8
105105
106106VOLUME ["/config" ]
107- RUN mkdir -p /extra-scripts \
108- && chown -R notroot:notroot /extra-scripts \
109- && chmod -R 775 /extra-scripts
110- COPY --chmod=755 ./apps/ubuntu/scripts /scripts
107+ RUN mkdir -p /extra_scripts \
108+ && chown -R notroot:notroot /extra_scripts \
109+ && chmod -R 775 /extra_scripts
110+ COPY --chmod=755 ./apps/ubuntu/scripts /prom_scripts
111111COPY --from=builder /go/bin/envsubst /usr/local/bin/envsubst
112112COPY --chmod=0755 apps/ubuntu/base-entrypoint.sh /base-entrypoint.sh
113113COPY --chmod=0755 apps/ubuntu/promknight-entrypoint.sh /promknight-entrypoint.sh
Original file line number Diff line number Diff line change 44
55echo " Based on work by funky penguin @elfhosted/containers"
66
7- source " /scripts /wait-for-vpn.sh"
8- source " /scripts /wait-for-urls.sh"
9- source " /scripts /wait-for-mounts.sh"
10- source " /scripts /umask.sh"
11- source " /scripts /extra-scripts.sh"
7+ source " /prom_scripts /wait-for-vpn.sh"
8+ source " /prom_scripts /wait-for-urls.sh"
9+ source " /prom_scripts /wait-for-mounts.sh"
10+ source " /prom_scripts /umask.sh"
11+ source " /prom_scripts /extra-scripts.sh"
1212
1313exec /promknight-entrypoint.sh
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33# Execute any scripts found in /extra-scripts
4- for SCRIPT in $( ls /extra-scripts ) ; do
4+ for SCRIPT in $( ls /extra_scripts ) ; do
55 bash -c $SCRIPT
66done
You can’t perform that action at this time.
0 commit comments