Moved chmod to Dockerfile

This commit is contained in:
Marcin Kostrzewski 2022-04-02 17:24:29 +02:00
parent b74f7d819c
commit 1ca7cfcb52
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,7 @@ ARG KAGGLE_KEY
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME} ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
ENV KAGGLE_KEY=${KAGGLE_KEY} ENV KAGGLE_KEY=${KAGGLE_KEY}
RUN chmod u+x ./download_dataset.sh RUN chmod a+x *.sh
RUN ./download_dataset.sh RUN ./download_dataset.sh
CMD python power_plant_data_stats.py CMD python power_plant_data_stats.py

View File

@ -7,7 +7,6 @@ pipeline {
stages { stages {
stage('Show stats') { stage('Show stats') {
steps { steps {
sh "chmod u+x /app/stats.sh"
sh "/app/stats.sh" sh "/app/stats.sh"
} }
} }