Merge pull request #2550 from leowangxp/master

fix: change sources shell permission denied
This commit is contained in:
Shao Yu-Lung (Allen) 2020-04-08 14:32:27 +08:00 committed by GitHub
commit 3f71fc2c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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