fix: change sources shell permission denied

This commit is contained in:
DESK0253\Leo 2020-04-08 09:57:00 +08:00
parent 9e04c460f9
commit c4c2f91306

View File

@ -50,6 +50,7 @@ ARG UBUNTU_SOURCE
COPY ./sources.sh /tmp/sources.sh
RUN if [ ${CHANGE_SOURCE} = true ]; then \
chmod +x /tmp/sources.sh && \
/bin/sh -c /tmp/sources.sh && \
rm -rf /tmp/sources.sh \
;fi