Skip to content
Snippets Groups Projects
Commit 637ea95b authored by George Sedov's avatar George Sedov
Browse files

fix receiver deps

parent 758d60c8
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ build-services-linux-release:
- KAFKA_LIBS=$(dpkg -L librdkafka-dev | grep "\.so")
- FABRIC_LIBS=$(dpkg -L libfabric-dev | grep "\.so")
- CURL_LIBS=$(dpkg -L libcurl4-openssl-dev | grep "\.so")
- DEPENDENCIES=$(printf "${KAFKA_LIBS}\n${FABRIC_LIBS}\n${CURL_LIBS}" | sed -e 's/\/\(.\+\)\/\(.\+\)/COPY \/\1\/\2 \/lib\/\2/g' | awk '{printf "%s\\n", $0}')
- DEPENDENCIES=$(printf "${KAFKA_LIBS}\n${FABRIC_LIBS}\n${CURL_LIBS}" | sed -e 's/\/\(.\+\)\/\(.\+\)/COPY --from=0 \/\1\/\2 \/lib\/\2/g' | awk '{printf "%s\\n", $0}')
- sed -e "s|#REPLACE_COPY_LIBS|${DEPENDENCIES}|g" -i $CI_PROJECT_DIR/build/receiver/Dockerfile
tags:
- kubernetes-executor
......
FROM $CI_REGISTRY_IMAGE/asapo-services-linux-build-env:latest
#REPLACE_COPY_LIBS
FROM busybox:glibc
#REPLACE_COPY_LIBS
COPY receiver /
CMD ["/receiver","/var/lib/receiver/config.json"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment