cft/bols_linux: Add Dockerfile and docker-compose.yaml
Add service Dockerfile, docker-compose.yaml, and container_uprev
Dockerfile for bols_linux.
BUG=b:535648254
TAG=agy
CONV=36a8a6f6-1fca-4066-b3ab-db52fba1ecdc
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
cft/bols_linux: Add Dockerfile and docker-compose.yaml
Add Dockerfile and docker-compose configuration for running bols_linux in containerized environment.
BUG=b:535648254
TAG=agy
CONV=36a8a6f6-1fca-4066-b3ab-db52fba1ecdc
diff --git a/go/src/infra/cros/cmd/cft/bols_linux/Dockerfile b/go/src/infra/cros/cmd/cft/bols_linux/Dockerfile
new file mode 100644
index 0000000..fa42f99
--- /dev/null
+++ b/go/src/infra/cros/cmd/cft/bols_linux/Dockerfile
@@ -0,0 +1,17 @@
+# Copyright 2026 The Chromium Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+FROM golang:1.23-alpine AS builder
+
+WORKDIR /app
+COPY . .
+RUN go build -o /app/bols_linux ./infra/cros/cmd/cft/bols_linux
+
+FROM alpine:latest
+
+WORKDIR /
+COPY --from=builder /app/bols_linux /usr/local/bin/bols_linux
+
+EXPOSE 8000
+ENTRYPOINT ["/usr/local/bin/bols_linux", "server"]
diff --git a/go/src/infra/cros/cmd/cft/bols_linux/docker-compose.yaml b/go/src/infra/cros/cmd/cft/bols_linux/docker-compose.yaml
new file mode 100644
index 0000000..fb28799
--- /dev/null
+++ b/go/src/infra/cros/cmd/cft/bols_linux/docker-compose.yaml
@@ -0,0 +1,19 @@
+# Copyright 2026 The Chromium Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+version: '3.8'
+
+services:
+ bols_linux:
+ build:
+ context: ../../../..
+ dockerfile: infra/cros/cmd/cft/bols_linux/Dockerfile
+ container_name: bols_linux
+ network_mode: host
+ privileged: true
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ - /dev:/dev
+ - /tmp/bols_linux:/tmp/bols_linux
+ restart: unless-stopped
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
cft/bols_linux: Add Dockerfile and docker-compose.yaml
Add Dockerfile and docker-compose configuration for running bols_linux in containerized environment.
BUG=b:535648254
TAG=agy
CONV=36a8a6f6-1fca-4066-b3ab-db52fba1ecdc
cft/bols_linux: Add Dockerfile and docker-compose.yaml
Add Dockerfile and docker-compose configuration for running bols_linux in containerized environment.
BUG=b:535648254
TAG=agy
CONV=36a8a6f6-1fca-4066-b3ab-db52fba1ecdc
cft/bols_linux: Add Dockerfile and docker-compose.yaml
Add Dockerfile and docker-compose configuration for running bols_linux in containerized environment.
BUG=b:535648254
TAG=agy
CONV=36a8a6f6-1fca-4066-b3ab-db52fba1ecdc
cft/bols_linux: Add Dockerfile and docker-compose.yaml
Add Dockerfile and docker-compose configuration for running bols_linux in containerized environment.
BUG=b:535648254
TAG=agy
CONV=36a8a6f6-1fca-4066-b3ab-db52fba1ecdc