Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Dockerfiles refactoring #3

Open
sah2ed opened this issue Apr 6, 2017 · 0 comments
Open

Dockerfiles refactoring #3

sah2ed opened this issue Apr 6, 2017 · 0 comments
Labels
P4 Priority Level 4 Issue - Nice to have

Comments

@sah2ed
Copy link
Collaborator

sah2ed commented Apr 6, 2017

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

  1. Refactor the Dockerfiles:
  • rename docker/tc-platform/ to docker/tc-website/;
  • move from run/Dockerfile to base/Dockerfile:
    • all download/install commands like yum and wget for 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;
  • in run/Dockerfile, remove the cp of static files to Apache's DocumentRoot;
    • 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.
  1. Merge the docker image changes to the build files back into the original git repo:
@sah2ed sah2ed changed the title Miscellaneous changes to the docker image Dockerfiles refactoring Apr 6, 2017
@RiteshTC RiteshTC added the P4 Priority Level 4 Issue - Nice to have label Feb 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P4 Priority Level 4 Issue - Nice to have
Projects
None yet
Development

No branches or pull requests

2 participants