File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
.pipelines/containerSourceData/imagecustomizer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22# Licensed under the MIT License.
33
44ARG BASE_IMAGE
5- ARG TARGETARCH
6- ARG AZ_MON_CONN_STR
75
86FROM $BASE_IMAGE
97
8+ ARG TARGETARCH
9+ ARG AZ_MON_CONN_STR
1010ENV AZURE_MONITOR_CONNECTION_STRING=${AZ_MON_CONN_STR}
1111
1212@INCLUDE_MAIN_RUN_INSTRUCTION@
@@ -24,7 +24,7 @@ RUN tdnf update -y && \
2424 tdnf clean all
2525
2626# Create virtual environment and install Python dependencies for telemetry
27- RUN python3 -m venv /opt /telemetry-venv
28- RUN /opt /telemetry-venv/bin/pip install --no-cache-dir -r /usr/lib/imagecustomizer/telemetry-requirements.txt
27+ RUN python3 -m venv /usr/lib/imagecustomizer /telemetry-venv
28+ RUN /usr/lib/imagecustomizer /telemetry-venv/bin/pip install --no-cache-dir -r /usr/lib/imagecustomizer/telemetry-requirements.txt
2929
3030ENTRYPOINT ["/usr/lib/imagecustomizer/entrypoint.sh"]
You can’t perform that action at this time.
0 commit comments