fix(build): lbagent-base image

This commit is contained in:
Zexi Li
2023-02-13 21:50:29 +08:00
parent 671984ece2
commit 052fb80ad2
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/swordqiu/lbagent-base:v0.0.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/lbagent-base:v0.0.3
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"
+3 -1
View File
@@ -20,7 +20,9 @@ RUN set -x \
gcc \
libc-dev \
libgcc \
linux-headers \
linux-headers
RUN set -x \
&& mkdir -p $GOPATH/src/github.com/yyyar $GOPATH/bin \
&& cd $GOPATH/src/github.com/yyyar \
&& git clone --depth 1 https://github.com/yyyar/gobetween.git \
+4
View File
@@ -60,3 +60,7 @@ host-image:
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-amd64 --arch amd64
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-arm64 --arch arm64
docker manifest push $(HOST_IMAGE_NAME)
LBAGENT_BASE_VERSION = v0.0.3
lbagent-base:
$(DOCKER_BUILDX)/lbagent-base:$(LBAGENT_BASE_VERSION) -f ./Dockerfile.lbagent-base .