FreeTAKTeam / FreeTakServer

Situational Awareness Server compatible with TAK clients
Eclipse Public License 2.0
680 stars 169 forks source link

Fix permissions / build caching of docker #576

Closed qpSHiNqp closed 1 year ago

qpSHiNqp commented 1 year ago

Fixed directories path / permissions in Dockerfile. Also Dockerfile pip install steps are optimized to make use of DLC. This should fix https://github.com/FreeTAKTeam/FreeTakServer/issues/574

brothercorvo commented 1 year ago

@hickey can you please review this PR?

AlgMi commented 1 year ago

Image build fails with older docker engine version such as 20.10.5 (latest version from raspian repository). Upgrade to 23+ fixes the issue. Step 8/17 : COPY --chown=freetak:freetak ./requirements.txt setup.py README.md . When using COPY with more than one source file, the destination must be a directory and end with a /

qpSHiNqp commented 1 year ago

@AlgMi Thanks for your review. I think this commit, dd9ea37, fixes the issue with 20.10.5.