File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,11 @@ RUN ls -la ./cachi2/output
88RUN ls -la ./cachi2/output/deps
99
1010# Install packages for the install script and extract archives
11- RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y unzip jq wget git
11+ RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y unzip jq wget
1212
1313RUN cd ./cachi2/output/deps/generic && \
1414 for file in *.zip; do unzip -d /root/ "$file"; done
1515
16- # Assume that source code comes from a Git repository
17- RUN echo "$(date '+%Y%m%d')-$(git rev-parse HEAD | cut -c -5)" > target/dockerhome/build-version && \
18- echo "$(git rev-parse HEAD)" > target/dockerhome/release && \
19- echo "$(git branch --show-current|sed 's/^release-//g')-$(git branch --show-current)_$(date '+%Y%m%d')-$(git rev-parse HEAD | cut -c -5)" > target/dockerhome/version
2016
2117###############################################################################
2218#latest tag
@@ -43,6 +39,7 @@ RUN sed -i 's:security.provider.12=SunPKCS11:#security.provider.12=SunPKCS11:g'
4339COPY --from=stage root/target/dockerhome/ /opt/kserve/mmesh/
4440COPY --from=stage root/target/dockerhome/version /etc/modelmesh-version
4541
42+
4643# Make this the current directory when starting the container
4744WORKDIR /opt/kserve/mmesh
4845
You can’t perform that action at this time.
0 commit comments