Moved chmod to Dockerfile
This commit is contained in:
parent
b74f7d819c
commit
1ca7cfcb52
@ -11,7 +11,7 @@ ARG KAGGLE_KEY
|
||||
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
||||
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
||||
|
||||
RUN chmod u+x ./download_dataset.sh
|
||||
RUN chmod a+x *.sh
|
||||
RUN ./download_dataset.sh
|
||||
|
||||
CMD python power_plant_data_stats.py
|
||||
|
@ -7,7 +7,6 @@ pipeline {
|
||||
stages {
|
||||
stage('Show stats') {
|
||||
steps {
|
||||
sh "chmod u+x /app/stats.sh"
|
||||
sh "/app/stats.sh"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user