Do not fail if VERSION.sha not found (#579)

* Create VERSION.sha file while creating standalone binary

* Do not fail on VERSION.sha not found

* Add git to docker container for testing

[ROCm/rocprofiler-compute commit: 19a9365bb9]
This commit is contained in:
vedithal-amd authored and GitHub committed 2025-02-26 11:39:37 -05:00
1 orang tua 4a890ce8d0
melakukan 2fc811bbbd
4 files changed
+23 -20

No files matched your search

@@ -2,7 +2,10 @@ FROM redhat/ubi8:8.10-1184
WORKDIR /app
RUN yum install -y curl gcc cmake
RUN yum install -y curl gcc cmake git
# Allows running git commands in /app
RUN git config --global --add safe.directory /app
RUN yum install -y python38 python38-devel && \
yum clean all && \
@@ -6,10 +6,13 @@ WORKDIR /app
# Update package list and install prerequisites
RUN apt-get update && apt-get install -y \
software-properties-common cmake locales \
software-properties-common cmake locales git \
&& add-apt-repository ppa:deadsnakes/ppa \
&& apt-get update
# Allows running git commands in /app
RUN git config --global --add safe.directory /app
# Generate the desired locale
RUN locale-gen en_US.UTF-8