summaryrefslogtreecommitdiffstats
path: root/.dockerignore (follow)
Commit message (Collapse)AuthorAgeFilesLines
* docker: Make docker image on CentOS 7Toshiki Tsuchiya2019-11-261-0/+1
| | | | | | | - Build rpm package from source on CentOS 7 - Use multi-stage builds to reduce docker image size Signed-off-by: Toshiki Tsuchiya <taruta0811@gmail.com>
* docker/alpine: Update buildscript to keep the docker image aroundChristian Franke2019-03-271-0/+1
| | | | | | | Don't delete the Alpine docker image after the build. Also, extract the packages from the build stage, so that we can remove them from the final image.
* tests/topotests: Change docker build contextChristian Franke2018-12-011-0/+6
| | | | | | | | | | | In order to support automated builds, the build context needs to be the repository root. So adapt our dockerfile and buildscript for this. Also, add files which should not be included into the build context in .dockerignore to limit the size of the build context to something sensible. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
* alpine packaging: build packages and base image directly from gitArthur Jones2018-04-041-0/+1
Currently, we tar up the git repo before building alpine packages. This ensures that the packages we're building are exactly what is checked in. But, in practice, this restriction causes us to not be able to build off of git contexts, which is a convenient feature especially when using docker-compose. So, here, we build the alpine packages directly from the contents of the current directory and we install the packages into a base image to ease downstream consumption. There is still work to be done in that area, as we need to package up the daemons, frr user and all the rest, but that's for later... Testing-done: Built directly from the git repo, built from a reference to the git repo and built using docker-compose, all seemed to work. Also, tested by @leleobhz and seems to build fine. Thanks to Leonardo Amaral (@leleobhz) for reporting the issue and for the original idea for a fix. Issue: https://github.com/FRRouting/frr/issues/2024 Signed-off-by: Arthur Jones <arthur.jones@riverbed.com>