Browse Source

autoinstrument

liubing 6 tháng trước cách đây
mục cha
commit
95fc405e3c

+ 7 - 0
autoinstrument-java/Dockerfile

@@ -0,0 +1,7 @@
+FROM busybox
+
+ARG version
+
+ADD ./opentelemetry-javaagent-kafka.jar /javaagent.jar
+
+RUN chmod -R go+r /javaagent.jar

+ 9 - 0
autoinstrument-java/Makefile

@@ -0,0 +1,9 @@
+tag=reg.cestong.com.cn/cecf/autoinstrument-java-ext:v2.5.0
+docker-build:
+	docker build . -t ${tag}
+
+docker-push: docker-build
+	docker push ${tag}
+
+docker-build-new:
+	docker build . -t ${tag} --no-cache

BIN
autoinstrument-java/opentelemetry-javaagent-kafka.jar


+ 4 - 2
pyflink/Dockerfile

@@ -5,7 +5,9 @@ RUN apt-get update -y && \
 apt-get install -y python3 python3-pip python3-dev && rm -rf /var/lib/apt/lists/*
 RUN ln -s /usr/bin/python3 /usr/bin/python
 
-RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
+RUN pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
 # install PyFlink
+RUN pip3 install -U pip setuptools
+RUN pip3 install poetry
+RUN poetry config virtualenvs.in-project true
 RUN pip3 install apache-flink==1.18.0
-

+ 1 - 1
pyflink/Makefile

@@ -1,4 +1,4 @@
-tag=reg.cestong.com.cn/cecf/pyflink:v1.18.0
+tag=reg.cestong.com.cn/cecf/pyflink:v1.18.1
 docker-build:
 	docker build . -t ${tag}
 

+ 13 - 0
superset/Dockerfile

@@ -0,0 +1,13 @@
+FROM apachesuperset.docker.scarf.sh/apache/superset:3.1.0
+
+# install python3 and pip3
+RUN apt-get update -y && \
+apt-get install -y zip && rm -rf /var/lib/apt/lists/*
+RUN ln -s /usr/bin/python3 /usr/bin/python
+
+RUN pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
+# install PyFlink
+RUN pip3 install -U pip setuptools
+RUN pip3 install poetry
+RUN poetry config virtualenvs.in-project true
+RUN pip3 install apache-flink==1.18.0

+ 9 - 0
superset/Makefile

@@ -0,0 +1,9 @@
+tag=reg.cestong.com.cn/cecf/pyflink:v1.18.1
+docker-build:
+	docker build . -t ${tag}
+
+docker-push: docker-build
+	docker push ${tag}
+
+docker-build-new:
+	docker build . -t ${tag} --no-cache