Sign inSign up

javaalm/vsts-ubuild-full

By javaalm

Updated about 10 years ago

Unofficial Ubuntu docker image to run the Team Services build agent for building cross-platform.

Image
0

762

javaalm/vsts-ubuild-full repository overview

The OFFICIAL VSTS Docker Build Agent is kept here (including for Java): https://github.com/Microsoft/vsts-agent-docker

This Docker Image is meant to serve only as an example.

Dockerfile to compose upon the ubuntu-minjava-build image to build an Ubuntu docker container to run the Team Services coreCLR build agent for building cross-platform (xplat) software. Tools and languages available include: •Java (OpenJDK 7 and 8) •Ant, Maven and Gradle •C and C++ •.NET •NodeJS •Gulp •Ruby and Rails •Go •Python •Perl

Built from Dockerfile: https://github.com/Microsoft/vsts-dockerfiles/tree/master/ubuntu-xplat-build

This Docker Image is dependent on ubuntu-minjava-build so you must first download and build that image first. See https://github.com/Microsoft/vsts-dockerfiles/blob/master/ubuntu-minjava-build/README.md

This Dockerfile was built and tested on an Ubuntu 16.04 host running Docker v1.11.2. Earlier versions may or may not work. If you don't already have a host running Docker, you can use the Azure QuickStart template to set up one for Ubuntu: https://github.com/Azure/azure-quickstart-templates/tree/master/docker-simple-on-ubuntu

Example of how to build on an Ubuntu Docker host:

cd vsts-dockerfiles/ubuntu-xplat-build

sudo docker build --tag javaalm/vsts-ubuild-full .

Example of how to run a container once the image above is built:

docker run -d --privileged --name javaalm/vsts-ubuild-full ./vsts-startup.sh

so something like this (but using your Team Services Account, PAT, and Pool and Agent names):

docker run -d --privileged --name docker-xplat-full javaalm/vsts-ubuild-full ./vsts-startup.sh https://myaccount.visualstudio.com/ spqnoh4j2sqklayog3ipsjovc3z5njvthpm2o4jdrdre2ztqxxxx default docker-xplat-full

Tag summary

Content type

Image

Digest

Size

1.1 GB

Last updated

about 10 years ago

docker pull javaalm/vsts-ubuild-full