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]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
4a890ce8d0
tiomantas
2fc811bbbd
4 comhad athraithe
+23
-20
Níor tháinig aon chomhaid le do chuardach
@@ -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
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir