This repository was archived by the owner on Jan 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Dockerfiles refactoring #3
Copy link
Copy link
Open
Labels
P4Priority Level 4 Issue - Nice to havePriority Level 4 Issue - Nice to have
Description
Requirements
The Dockerfiles should be easy to maintain. They need to be reorganized so that build-deploy cycles are faster than they are now.
Tasks
- Refactor the Dockerfiles:
- rename
docker/tc-platform/todocker/tc-website/; - move from
run/Dockerfiletobase/Dockerfile:- all download/install commands like
yumandwgetfor apache, mod_ssl and mod_jk; - the self-signed SSL certificate generation step;
- use the correct domain (
local.tc.cloud.topcoder.com) in the SSL certificate;
- use the correct domain (
- all download/install commands like
- in
run/Dockerfile, remove thecpof static files to Apache'sDocumentRoot;- instead, see this bitnami example of using a mounted volume for Apache's
DocumentRoot; - that change should fix this error when the docker image is run currently:
cp: cannot stat `/root/tc-platform/tc-website-static/*': No such file or directory.
- instead, see this bitnami example of using a mounted volume for Apache's
- Merge the docker image changes to the build files back into the original git repo:
- merge changes to build_tc.xml into build_tc.xml;
- merge changes to build_distui.xml into build_distui.xml;
- update the
build/Dockerfileaccordingly.
Metadata
Metadata
Assignees
Labels
P4Priority Level 4 Issue - Nice to havePriority Level 4 Issue - Nice to have