diff --git a/Dockerfile_Polaris b/Dockerfile_Polaris index 1c729a5..acce6e1 100644 --- a/Dockerfile_Polaris +++ b/Dockerfile_Polaris @@ -33,10 +33,4 @@ COPY . . RUN mkdir oc_bin RUN dir RUN tar -xvf oci_core/openshift-client.tar.gz -C oc_bin -RUN ./oc_bin/oc version -RUN ./oc_bin/oc login --token=$oct --server=$ocs -RUN ./oc_bin/oc project $ocp -RUN ./oc_bin/oc port-forward $ocpd $ocpf:$ocpt - - -RUN python3 src/main.py $test_mode +RUN ./ETL.sh diff --git a/ETL.sh b/ETL.sh new file mode 100644 index 0000000..9f21ef0 --- /dev/null +++ b/ETL.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +./oc_bin/oc version +./oc_bin/oc login --token=$oct --server=$ocs +./oc_bin/oc project $ocp +./oc_bin/oc port-forward $ocpd $ocpf:$ocpt + + +python3 src/main.py $test_mode \ No newline at end of file