Sign inSign up

liveforensics/buildbox

By liveforensics

•Updated almost 5 years ago

Experiments in creating Windows Build Environments

Image
0

1.7K

liveforensics/buildbox repository overview

VERY experimental, so probably not worth downloading, particularly since they are so huge!

I run a small Docker Swarm with two Linux hosts and one Windows host.

⁠Basic Agent

As a starting point I've created a vanilla Jenkins agent based on the specified Windows build.

liveforensics/buildbox:2004-jenkinsagent

you can start this with a build-stack.yml like this:

version: '3.2'

services:
  agenttest:
    image: liveforensics/buildbox:2004-jenkinsagent
    networks:
      - testlabnet
    environment:
      - JENKINS_URL=http://dockerhost.mynet.local:8080
      - JENKINS_SECRET=672968099a0a56df6965c939f385bd2541a50846ca1a1c1f970f1135e9bdb312
      - JENKINS_AGENT_NAME=TestMe
    deploy:
      mode: replicated
      replicas: 1
      placement:
        constraints: [node.platform.os == windows]
      resources:
        limits:
          cpus: '0.50'
          memory: 1G
        reservations:
          cpus: '0.25'
          memory: 1G    

networks:
  testlabnet:
    driver: overlay
    attachable: true

Tag summary

Content type

Image

Digest

Size

2.4 GB

Last updated

almost 5 years ago

docker pull liveforensics/buildbox:vb6