Merge pull request #2550 from leowangxp/master
fix: change sources shell permission denied
This commit is contained in:
commit
3f71fc2c15
|
@ -50,6 +50,7 @@ ARG UBUNTU_SOURCE
|
||||||
COPY ./sources.sh /tmp/sources.sh
|
COPY ./sources.sh /tmp/sources.sh
|
||||||
|
|
||||||
RUN if [ ${CHANGE_SOURCE} = true ]; then \
|
RUN if [ ${CHANGE_SOURCE} = true ]; then \
|
||||||
|
chmod +x /tmp/sources.sh && \
|
||||||
/bin/sh -c /tmp/sources.sh && \
|
/bin/sh -c /tmp/sources.sh && \
|
||||||
rm -rf /tmp/sources.sh \
|
rm -rf /tmp/sources.sh \
|
||||||
;fi
|
;fi
|
||||||
|
|
Loading…
Reference in New Issue