Commit Graph

11 Commits

Author SHA1 Message Date
grossmj
513bc0fb16 Do not use setup.py directly 2023-03-21 18:56:00 +10:00
grossmj
c5a6cd8d33 Update Docker image for tests 2021-12-17 12:20:46 +10:30
grossmj
0b200def88 Merge branch 'master' into 3.0
# Conflicts:
#	.github/workflows/testing.yml
#	Dockerfile
#	gns3server/version.py
2021-10-09 12:16:50 +10:30
Pratik Raj
de2d72248e
chore : use --no-cache-dir flag to pip in dockerfiles to save space
using --no-cache-dir flag in pip install ,make sure downloaded packages
by pip don't cached on system . This is a best practice which make sure
to fetch from repo instead of using local cached one . Further , in case
of Docker Containers , by restricting caching , we can reduce image size.
In term of stats , it depends upon the number of python packages
multiplied by their respective size . e.g for heavy packages with a lot
of dependencies it reduce a lot by don't caching pip packages.

Further , more detail information can be found at

https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
2021-09-22 15:17:21 +05:30
grossmj
bf7cf862af Refactor tests and start work on database integration. 2020-12-02 18:39:08 +10:30
grossmj
f20e16074f Fix Docker dev server script. 2020-10-19 18:28:01 +10:30
grossmj
d5b6fda270 Remove --local when starting Docker dev server. 2020-03-26 12:06:05 +10:30
grossmj
0c6749f62b Update Dockerfile to Ubuntu 18.04 2019-05-18 20:19:34 +07:00
grossmj
658aa4bae9 Merge 2.1 into 2.2 branch 2018-03-12 13:38:50 +07:00
Julien Duponchelle
897c9cb42c
Improve docker container for development 2017-02-15 19:31:18 +01:00
Julien Duponchelle
4fed98617b
Add Dockerfile for development 2017-02-13 11:39:21 +01:00