Browse Source

more dependencies in the build container

Grant Limberg 1 month ago
parent
commit
076ed83b81

+ 4 - 1
ext/central-controller-docker/Dockerfile.builder

@@ -21,11 +21,14 @@ RUN apt -y install \
     libgoogle-perftools-dev \
     protobuf-compiler \
     protobuf-compiler-grpc \
+    protobuf-c-compiler \
     grpc-proto \
     libgrpc++1.51 \
     libgrpc++-dev \
     libgrpc-dev \
-    libgrpc29
+    libgrpc29 \
+    cmake \
+    git
 
 
 RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

+ 2 - 2
ext/central-controller-docker/Makefile

@@ -10,7 +10,7 @@ buildx:
 	@echo docker buildx inspect --bootstrap
 
 controller-builder:	buildx
-	docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t $(registry)/ctlbuild:$(shell date +"%Y-%m-%d") -f Dockerfile.builder . --push
+	docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t $(registry)/ctlbuild:$(shell date +"%Y-%m-%d") -f Dockerfile.builder . --push 
 
 controller-runbase: buildx
-	docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t $(registry)/ctlrun:$(shell date +"%Y-%m-%d") -f Dockerfile.run_base . --push
+	docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t $(registry)/ctlrun:$(shell date +"%Y-%m-%d") -f Dockerfile.run_base . --push