Jenkins agent for "attach" that contains golang and some other pre-reqs.
sudo docker build --tag jenkins-golang-agent .
sudo docker run -it jenkins-golang-agent /bin/bash
sudo docker rm $(sudo docker ps -a -q)
build the image first!
- list images with
docker images
find the latest id - tag the image with the remote
docker tag image-id tucker01/jenkins-golang-agent
- login to docker hub
docker login --username tucker01
(must use token) - push
docker push tucker01/jenkins-golang-agent