########################################################################################## LOC-30: Docker Images ########################################################################################## Issue Type: Task ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Done (2020-12-14 16:56:34) Project: LocalChat (LOC) Reported By: btasker Assigned To: btasker Components: - Server Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== LOC-18 built an ansible playbook which could be used to deploy server instances. For more ease of use (and, largely, because I want to tinker around with it) - should look at building docker images. ----------------------------------------------------------------------------------------- Issue Relations ================ - relates to LOC-18: Ansible playbook ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2020-12-14 15:46:48 btasker ----------------------------------------------------------------------------------------- The codebase is quite old, and written in Python2, so will need to use an older base image for now. I'll start with Ubuntu 16.04, and then maybe look at moving to something like Alpine later. If this project were being supported in the longer term then obviously we should really be porting to Python3 anyway. For now, the main aim is to avoid too many headaches. ----------------------------------------------------------------------------------------- 2020-12-14 16:11:55 btasker ----------------------------------------------------------------------------------------- Server image successfully built - tagged with localchat-server It was always the client, though, which had the more troublesome dependencies, so need to build an image for that too. ----------------------------------------------------------------------------------------- 2020-12-14 16:52:56 git ----------------------------------------------------------------------------------------- -- BEGIN QUOTE -- Repo: LocalChat Commit: d40c14971895fc21c4749a1b60bdc0bc3c6179fd Author: B Tasker