cft/bols_linux: Add Dockerfile and docker-compose.yaml [infra/infra : main]

0 views
Skip to first unread message

Otabek Kasimov (Gerrit)

unread,
5:10 PM (4 hours ago) 5:10 PM
to chromium...@chromium.org, infra-rev...@chromium.org

Otabek Kasimov has uploaded the change for review

Commit message

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
Change-Id: I86e26b9e163057fc73bf936bbcb7fd75ef02a38c

Change diff


Change information

Files:
  • A go/src/infra/cros/cmd/cft/bols_linux/Dockerfile
  • A go/src/infra/cros/cmd/cft/bols_linux/docker-compose.yaml
  • A go/src/infra/cros/cmd/container_uprev/internal/dockerfiles/Dockerfile_bols_linux
Change size: S
Delta: 3 files changed, 38 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: infra/infra
Gerrit-Branch: main
Gerrit-Change-Id: I86e26b9e163057fc73bf936bbcb7fd75ef02a38c
Gerrit-Change-Number: 8134741
Gerrit-PatchSet: 1
Gerrit-Owner: Otabek Kasimov <ota...@google.com>
unsatisfied_requirement
open
diffy

Otabek Kasimov (Gerrit)

unread,
7:04 PM (2 hours ago) 7:04 PM
to chromium...@chromium.org, infra-rev...@chromium.org

Otabek Kasimov has uploaded the change for review

Commit message

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
Change-Id: Idcab2785b2589861b5b560ccf27d434fa70c9833

Change diff

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

Change information

Files:
  • A go/src/infra/cros/cmd/cft/bols_linux/Dockerfile
  • A go/src/infra/cros/cmd/cft/bols_linux/docker-compose.yaml
Change size: S
Delta: 2 files changed, 36 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: infra/infra
Gerrit-Branch: main
Gerrit-Change-Id: Idcab2785b2589861b5b560ccf27d434fa70c9833
Gerrit-Change-Number: 8135557
satisfied_requirement
unsatisfied_requirement
open
diffy

Otabek Kasimov (Gerrit)

unread,
7:11 PM (2 hours ago) 7:11 PM
to chromium...@chromium.org, infra-rev...@chromium.org

Otabek Kasimov has uploaded the change for review

Commit message

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
Change-Id: I19ead6bf4b4c1b38433963f7dead65e8f885b950
Gerrit-Change-Id: I19ead6bf4b4c1b38433963f7dead65e8f885b950
Gerrit-Change-Number: 8135775
satisfied_requirement
unsatisfied_requirement
open
diffy

Otabek Kasimov (Gerrit)

unread,
7:23 PM (2 hours ago) 7:23 PM
to chromium...@chromium.org, infra-rev...@chromium.org

Otabek Kasimov has uploaded the change for review

Commit message

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
Change-Id: Ibcbf8bafa72af6794129cdc89b61e7840e411a80
Gerrit-Change-Id: Ibcbf8bafa72af6794129cdc89b61e7840e411a80
Gerrit-Change-Number: 8134749
satisfied_requirement
unsatisfied_requirement
open
diffy

Otabek Kasimov (Gerrit)

unread,
7:46 PM (1 hour ago) 7:46 PM
to chromium...@chromium.org, infra-rev...@chromium.org

Otabek Kasimov has uploaded the change for review

Commit message

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
Change-Id: I258a318c8b30a7193431075302ddf3808d67f877
Gerrit-Change-Id: I258a318c8b30a7193431075302ddf3808d67f877
Gerrit-Change-Number: 8136054
satisfied_requirement
unsatisfied_requirement
open
diffy

Otabek Kasimov (Gerrit)

unread,
7:50 PM (1 hour ago) 7:50 PM
to chromium...@chromium.org, infra-rev...@chromium.org

Otabek Kasimov has uploaded the change for review

Commit message

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
Change-Id: Ide994c9aa0fd1dc4b5e3a90cb5e28776be91626b
Gerrit-Change-Id: Ide994c9aa0fd1dc4b5e3a90cb5e28776be91626b
Gerrit-Change-Number: 8135915
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages