Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]Build multi-architecture Docker images for Python agent #297

Merged
merged 10 commits into from
Apr 1, 2023
4 changes: 3 additions & 1 deletion docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ build: $(TARGETS)
push: $(PUSH_TARGETS)

$(TARGETS):
docker buildx create --use --driver docker-container --name skywalking_python_main
jiang1997 marked this conversation as resolved.
Show resolved Hide resolved
for p in $(P); do \
$(D) build $(SW_BUILD_ARGS) \
$(D) buildx build $(SW_BUILD_ARGS) \
--platform linux/amd64,linux/arm64 \
jiang1997 marked this conversation as resolved.
Show resolved Hide resolved
--build-arg BASE_PYTHON_IMAGE=$(BASE_PYTHON_IMAGE) \
--build-arg SW_PYTHON_AGENT_PROTOCOL=$$p \
--build-arg SW_PYTHON_AGENT_VERSION=${AGENT_VERSION} \
Expand Down