{
"path": "/3makx7d4sfgyp",
"site": "at://did:plc:s5wwr2ccjuqricdxiyiuspfv/site.standard.publication/3m7zleg5tyc2b",
"$type": "site.standard.document",
"title": "Untitled",
"content": {
"$type": "pub.leaflet.content",
"pages": [
{
"id": "3makx7d4rf6gc",
"$type": "pub.leaflet.pages.linearDocument",
"blocks": [
{
"$type": "pub.leaflet.pages.linearDocument#block",
"block": {
"$type": "pub.leaflet.blocks.header",
"level": 2,
"facets": [],
"plaintext": "title: Using Docker for Building author: Arnaud Bailly date: 2013-11-25"
}
},
{
"$type": "pub.leaflet.pages.linearDocument#block",
"block": {
"$type": "pub.leaflet.blocks.unorderedList",
"children": [
{
"content": {
"$type": "pub.leaflet.blocks.text",
"facets": [],
"plaintext": "Goal: ensure repeatability and reliability of builds across OS (dev'ing on Windows, CI on linux, deploying on unix/solaris)"
},
"children": []
},
{
"content": {
"$type": "pub.leaflet.blocks.text",
"facets": [],
"plaintext": "Using docker inside a Linux VM on VirtualBox on windows"
},
"children": []
},
{
"content": {
"$type": "pub.leaflet.blocks.text",
"facets": [],
"plaintext": "Start from docker's github repo, use vagrant to generate VM with docker configured"
},
"children": []
},
{
"content": {
"$type": "pub.leaflet.blocks.text",
"facets": [],
"plaintext": "Create docker image from base (eg. ubuntu...)"
},
"children": []
},
{
"content": {
"$type": "pub.leaflet.blocks.text",
"facets": [],
"plaintext": "Install jdk, maven..."
},
"children": []
},
{
"content": {
"$type": "pub.leaflet.blocks.text",
"facets": [],
"plaintext": "Snapshot after first build => provides already loaded repository"
},
"children": []
},
{
"content": {
"$type": "pub.leaflet.blocks.text",
"facets": [],
"plaintext": "Beware of network connectivity. Had an issue while running tests, code was trying to connect to a server that was not reachable, HTTP client hanged in timeout which caused the test to fail as the test itself was timeouted"
},
"children": []
},
{
"content": {
"$type": "pub.leaflet.blocks.text",
"facets": [],
"plaintext": "Issue with repository update when offline => use host's local repository as remote"
},
"children": []
},
{
"content": {
"$type": "pub.leaflet.blocks.text",
"facets": [],
"plaintext": "probably not that useful to build java on linux => only execute tests!!"
},
"children": []
}
]
}
}
]
}
]
},
"publishedAt": "2013-11-25T00:00:00Z"
}