16 Commits

Author SHA1 Message Date
Ray Milkey
a69d7646a5 Upgrade docker build to bazel 0.23
Change-Id: Ia659a4ff18cd3913fa9ffd73e1d28c0e1774a43c
2019-02-27 09:19:07 -08:00
Ray Milkey
c3a1491110 Change JDK container for Docker build
- the image we were using is no longer supported
- we are now using an OpenJDK 8 image for docker builds
- removed Jono as author and put in myself

Change-Id: I7a4d607da32d1da4449e7421b6df1d23ea9eb9f4
2019-02-15 10:00:57 -08:00
Ray Milkey
6f5b646aa7 Use Open JDK 11 for docker image
Change-Id: I5ef9a4fd3777c9aeb285a9e4dd985232de5175e6
2018-12-14 03:41:21 +00:00
Ray Milkey
716166f78b Upgrade bazel version to 0.19 for docker build
Change-Id: I8d86a4db66297a1684c4faa35a535013c99ea3c2
2018-11-09 18:58:53 +00:00
Ray Milkey
4c2d16455e Bump up docker image build to bazel version 0.17.1
Change-Id: I29b749aa46b31d87fcd879e058a92b4e5733a64d
2018-09-24 17:27:33 +00:00
Ray Milkey
b42f4dd24f Reduce the number of bazel jobs to allow building docker image on laptops
Change-Id: Id1e161011bdb3a23183b092ba14415035b633c5b
2018-08-14 17:59:04 +00:00
Ray Milkey
b38701eb4a Docker build using bazel
Change-Id: I0f2377b71b73c8ec19e15734c5ddb7810ab6ab39
2018-08-14 15:44:18 +00:00
Ray Milkey
200b384159 Allow docker build to set the git hash based version string
Change-Id: Ia9db74bfcaea9eb1fc91bdfb1941f00a86e7c964
(cherry picked from commit 50e43f030632df9b1f9797b5344f51f6cb25999a)
2018-04-06 21:35:06 +00:00
Charles Chan
47c6e26275 Fix dependency and permission issue in docker build
Change-Id: Ie0263b2ba6d98f5ca2bc63029987e7ad3e84fd6c
2017-10-04 13:36:48 -07:00
Jonathan Hart
3e86419fdf Configure ONOS in docker image to log to stdout
Change-Id: Ia7f900663298750de7c1d67b9bf0f181b5f6f452
2017-07-27 17:32:33 +00:00
Jonathan Hart
15a71d8d6a ONOS docker image is going on a diet.
Refactored the Dockerfile to use a multi-stage build which allows us to
separate build environment from runtime environment.
Also added labels.

Change-Id: I9bdf63d9224711c5b5ed342bbe233a26d51283a9
2017-07-26 23:39:14 +00:00
Ray Milkey
9d81ea5722 Fixes for Docker build
- add runtime dependency on git
- set ONOS_ROOT before doing build
- Add top level directory to grpc proto compiler include directories

Change-Id: I6e7a119a122f708988cce28090c9bc7011808b78
2017-07-20 20:21:37 +00:00
Jimmy Ou
0fe2138541 Fix script to install what onos-user-key need in Docker debian:jessie image
- Install ssh package
- Create ~/.ssh directory

Change-Id: Id6e486fd63f178a6311d41b9216872ca48c61ad2
2017-06-13 07:02:54 +00:00
Jonathan Hart
9bdf5da497 Fixing dockerhub build.
The latest debian:jessie image doesn't seem to like the command
"apt-get remove --purge -y `apt-mark showauto`".
It tries to remove a number of important base packages.
It doesn't seem to save a lot of space anyway.

Change-Id: If55b319f7d74698398d76650fa1c4a8d8475bb63
2017-06-13 07:02:40 +00:00
Ray Milkey
8c05c9b3e6 Suppress errors for non-ASCII characters in Java files
Change-Id: Iaedc76b640326ee967b7d05937dadce75bb29639
2017-03-16 21:32:08 +00:00
Jonathan Hart
77daee891b Move Dockerfile to repository root.
It seems to be mandatory to have the Dockerfile here if we want to build
from the source in the repo in a Dockerhub automated build.

ONOS-5832

Change-Id: I01536ae9476987f20df03560834b1adcf0b6aec0
2017-01-17 15:29:59 +00:00