This repository contains Docker build files to be used for Selenoid and Moon projects. You can find prebuilt images here.
- Install go environment via homebrew or direct download from https://go.dev/doc/install. Check with go.mod and CI scripts to align the go version. Setup go path:
export GOPATH=/Users/<<USER>>/go
export PATH=$GOPATH/bin:$PATH
- Install and run the packager for static Dockerfiles (required if Dockerfiles are modified):
go install github.com/markbates/pkger/cmd/pkger@latest
go install github.com/mitchellh/gox@latest # cross compile
go generate github.com/aerokube/images
- Build the image builder binary:
go clean
go build
Build artifacts will be present in /dist directory.
- Publish the
imagesGo binary artifacts. First merge the code withmasterbranch. Then userepository tags sectionto manually create a new release and tag with generated release notes. The release CI job will be triggered viaGithub Actionsto publish the release with the build artifacts.
Twilio built browsers use the images Go binary with browser-validations (BV) project.
https://github.com/twilio/browser-validations
Check the latest published image tags on the public Docker registry: https://hub.docker.com/r/twilio/selenoid