build/env/linux-x86-nacl
Kevin Burke eebd280ca5 env: fix Makefile typos
Change-Id: I0629392c698204dad4e466c86d392d05bc613868
Reviewed-on: https://go-review.googlesource.com/40851
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-15 15:49:28 +00:00
..
Dockerfile env/linux-x86-nacl: optimize image size 2017-04-12 18:20:08 +00:00
Makefile env: fix Makefile typos 2017-04-15 15:49:28 +00:00
README env: add additional target for building env images 2016-01-28 03:51:04 +00:00
go_nacl_386_exec env: update nacl builders to be VM-based 2015-02-18 22:34:01 +00:00
go_nacl_amd64p32_exec env: update nacl builders to be VM-based 2015-02-18 22:34:01 +00:00

README

# Building Docker image
If you have access to the Go build staging project (`go-dashboard-dev`) or
production project (`symbolic-datum-552`), use the `make staging` or `make
prod` targets to build a Docker image and push it to the correct Docker
repository.

To build the image for your own dev environment, first build the
`linux-x86-std-kube` image with `make dev REPO=your/docker/repo/prefix`, then
build this image using the same repo prefix, i.e.,
`make dev REPO=your/docker/repo/prefix`.


# Running locally
$ export BUILD=nacl-amd64p32-temp
$ export BUILDREV=59b1bb4bf045 
$ docker run \
     -v $HOME/keys/$BUILD.buildkey:/.gobuildkey \
     gobuilders/linux-x86-nacl \
     /usr/local/bin/builder -rev=$BUILDREV -buildroot=/ -v -cmd=/usr/local/bin/build-command.pl $BUILD