Commit Graph

25 Commits

Author SHA1 Message Date
Saad Ali
62c13db64d chore: update Dockerifle to run apps as a low privileged user (#31179) 2022-10-25 16:12:54 -04:00
UsamaSadiq
897cb3617f refactor!: delete common/lib and related usages 2022-09-22 14:16:34 +05:00
Sarina Canelake
4a2f231302 fix: fix github url strings (org edx -> openedx) 2022-09-15 14:52:28 -04:00
Mohammad Ahtasham ul Hassan
c6d113f26d chore: update Docker Image to use node 16 (#30444) 2022-05-23 15:18:53 +05:00
Mohammad Ahtasham ul Hassan
f801deaae5 Node Upgrade (#30420)
* feat: Node16 upgrade
2022-05-18 16:12:34 +05:00
Mohammad Ahtasham ul Hassan
fee54bf424 Revert "Node 16 Upgrade (#30354)" (#30399)
This reverts commit f4c3c3fb4d.
2022-05-16 18:42:42 -04:00
Mohammad Ahtasham ul Hassan
f4c3c3fb4d Node 16 Upgrade (#30354)
* feat: Node16 upgrade
2022-05-16 16:53:37 +05:00
Mohammad Ahtasham ul Hassan
e84187bacd Revert "feat: node16 upgrade (#30249)" (#30268)
This reverts commit f10ebf0752.
2022-04-18 21:57:17 +05:00
Mohammad Ahtasham ul Hassan
f10ebf0752 feat: node16 upgrade (#30249) 2022-04-18 16:32:53 +05:00
Chris Pappas
874997ea1d chore: iterate on we do dockerfile config override (#30204) 2022-04-07 16:08:48 -04:00
Chris Pappas
7c434524f7 temp: add runs to dockerfile to troubleshoot envvar (#30200) 2022-04-07 11:55:46 -04:00
Chris Pappas
be1ce46e33 fix: Do not hardcode LMS_CFG for lms-docker dockerfile target (#30191) 2022-04-06 15:57:34 -04:00
Chris Pappas
453ae1a3f3 fix: move redefinition of LMS_CFG under following dockerfile target (#30175) 2022-04-04 13:19:32 -04:00
Rebecca Graber
8a28a5f8d4 feat: move docker-based lms target to beginning (#30173) 2022-04-04 11:37:24 -04:00
Chris Pappas
e008357030 feat: add new target for docker-specific deployment of lms (#30168) 2022-04-04 08:53:26 -04:00
Kyle McCormick
29ed3d911a build: expose working openedx/lms and openedx/cms docker images (#29549)
This commits prepares edx-platform's experimental Dockerfile
for optional use in devstack. Presently, the image built by this
Dockerfile isn't used anywhere.

Notable changes:
* Drop the openedx/edx-platform image name in favor of
  openedx/lms and openedx/cms.
* Drop the newrelic stages and tags.
* Create openedx/lms-dev and openedx/cms-dev image
  variants which use Django devserver, install dev
  requirements, and specify devstack Django settings.
* Add config files at (lms,cms)/envs/devstack-experimental.yml,
  extracted from the existing edxapp docker image.
* Adds three new scripts, each of which replaces an Ansible
  or Paver-supported function with a pure bash + Django
  management command implementation.
2022-01-10 11:20:10 -05:00
Feanil Patel
16e4aa3c62 chore: Remove decentralized devstack config.
We have decided not to pursue the decentralized devstack design right
now and so we want to cleanup files and task that were built as a part
of the process.

Related Ticket: ARCHBOM-1685
2021-04-09 15:50:03 -04:00
Felipe Espinoza
6716d89e5d Merge PR #25343: Adding lynx to Dockerfile (#25343)
It is required by edx-platform/openedx/core/lib/html_to_text.py
2020-11-16 16:09:15 -08:00
Aarif
dafac0c9eb updated Dockerfile to use ubuntu 20.04 as base (#25435) 2020-11-03 17:28:03 +05:00
Aarif
77b9113727 Updated the Dockerfile to use python 3.8 (#25205) 2020-10-21 07:31:19 +05:00
Aarif
983d73c29f Revert "Updated the Dockerfile to switch to python 3.8" 2020-10-02 12:29:16 +05:00
Aarif
30acfdc904 Updated the Dockerfile to switch to python 3.8 2020-09-24 17:24:21 +05:00
Kyle McCormick
b24cb48eb0 Decentralized Devstack changes: Add and push Dockerfile; add decentralized devstack settings (#24666)
* Add and push Dockerfile; add decentralized devstack settings

Co-Authored-By: Diana Huang <dkh@edx.org>
Co-Authored-By: Kyle McCormick <kmccormick@edx.org>

* Remove Python requirements hack

Remove the attempted optimization to the installation of Python
package dependencies.  The dependencies in edx-platform change
about three times per day, so this was of dubious value.  And
because npm is run through nodeenv, which is a Python package,
the Python dependencies installation has to happen first.

* ARCHBOM-1439: Changing workdir to /edx/app/edxapp/edx-platform (#24835)

Context: The Dockerfile tries to stay in sych with legacy stuff.
In the ansible we configure the directory structure such that things
relating to the app but not in the codebase,
such as the env file wind up in /edx/app/edxapp/.
And the codebase winds up in /edx/app/edxapp/edx-platform.

I think due to accident, the dockerfile does
/edx/app/edx-platform/edx-platform instead of /edx/app/edxapp/edx-platform.

This commit tries to have Dockerfile more reflect what is currently happening in production

* Update ports for decentralized devstack ARCHBOM-1447 (#24841)

Switch from the LMS ports we've historically used for NGINX to those used for gunicorn, and fix the Studio ports to match the ones we've historically used for its gunicorn service. Also removed some leftover bits of the requirements hack.

Co-authored-by: Adam Blackwell <ablackwell@edx.org>
Co-authored-by: Diana Huang <dkh@edx.org>
Co-authored-by: jinder1s <msingh@edx.org>
Co-authored-by: Jeremy Bowman <jbowman@edx.org>
Co-authored-by: Manjinder Singh <49171515+jinder1s@users.noreply.github.com>
2020-09-03 11:47:08 -04:00
Troy Sankey
3b6b066c72 Cleanup unused CONFIG_ROOT variable and dead code.
From what I've gleaned, CONFIG_FILE (and LMS_CFG and STUDIO_CFG
environment variables) supercedes CONFIG_ROOT.  There's no code anymore
that reads the value of the CONFIG_ROOT django setting, and in turn the
CONFIG_ROOT environment variable.

Tangentially related to DENG-369
2020-08-20 16:30:33 -04:00
Cory Lee
148b90358f Add Dockerfile (#23088)
* Add Dockerfile.
* Add gunicorn config files for local development.
* Add .dockerignore file.

Co-authored-by: Joseph Mulloy <jmulloy@edx.org>
Co-authored-by: Fred Smith <derf@edx.org>
Co-authored-by: Adam Blackwell <ablackwell@edx.org>
Co-authored-by: Kyle McCormick <kmccormick@edx.org>
Co-authored-by: Nadeem Shahzad <nshahzad@edx.org>
2020-07-22 17:45:23 -04:00