Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
#17 fixing podman env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
marcionemec-daitan committed Mar 1, 2024
1 parent 32df65c commit bfcd206
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile_Polaris
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN echo $ocs
RUN echo $oct
RUN echo $ocp
RUN echo $ocpd
RUN echo $ocpf

# copy project
COPY . .
Expand All @@ -33,9 +34,9 @@ RUN mkdir oc_bin
RUN dir
RUN tar -xvf oci_core/openshift-client-linux-4.5.0-0.okd-2020-07-14-153706-ga.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 ./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

0 comments on commit bfcd206

Please sign in to comment.