File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
- FROM python:3.8 -slim
1
+ FROM python:3.10 -slim
2
2
3
- ENV PYTHONUNBUFFERED 1
4
- ENV SRC_DIR /tmp/src
5
- ENV EXTENSION_DIR /opt/spaceone
6
- ENV PYTHONPATH "${PYTHONPATH}:/opt"
3
+ ARG PACKAGE_VERSION
4
+
5
+ ENV PYTHONUNBUFFERED=1
6
+ ENV SRC_DIR=/tmp/src
7
+ ENV EXTENSION_DIR=/opt/spaceone
8
+ ENV PYTHONPATH="${PYTHONPATH}:/opt"
7
9
8
10
RUN apt-get update \
9
11
&& apt-get install -y wget build-essential
@@ -12,3 +14,7 @@ COPY pkg/pip_requirements.txt pip_requirements.txt
12
14
COPY templates/opt/cloudforet ${EXTENSION_DIR}
13
15
14
16
RUN pip install -r pip_requirements.txt
17
+
18
+ COPY ./src ${SRC_DIR}
19
+ WORKDIR ${SRC_DIR}
20
+ RUN pip install --no-cache-dir .
Original file line number Diff line number Diff line change @@ -31,5 +31,4 @@ opentelemetry-api
31
31
opentelemetry-sdk
32
32
opentelemetry-exporter-otlp-proto-grpc
33
33
opentelemetry-instrumentation-logging
34
- opentelemetry-exporter-prometheus
35
- spaceone-core
34
+ opentelemetry-exporter-prometheus
You can’t perform that action at this time.
0 commit comments