From 6963c036e4119b7f2ea7b3b90a36b4981e37aacf Mon Sep 17 00:00:00 2001 From: Deborah Kaplan Date: Tue, 17 Dec 2024 16:28:42 -0500 Subject: [PATCH] Revert "chore: updating os version for credentials" (#76) --- dockerfiles/credentials.Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dockerfiles/credentials.Dockerfile b/dockerfiles/credentials.Dockerfile index 0a753cc..e60e145 100644 --- a/dockerfiles/credentials.Dockerfile +++ b/dockerfiles/credentials.Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:noble AS base +FROM ubuntu:focal AS base # System requirements # - git; Used to pull in particular requirements from github rather than pypi, @@ -30,9 +30,9 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH" # Create Node env RUN pip install nodeenv ENV NODE_ENV=/edx/app/credentials/nodeenvs/credentials -RUN nodeenv $NODE_ENV --node=20.17.0 --prebuilt +RUN nodeenv $NODE_ENV --node=18.17.1 --prebuilt ENV PATH="$NODE_ENV/bin:$PATH" -RUN npm install -g npm@10.x.x +RUN npm install -g npm@9.x.x RUN locale-gen en_US.UTF-8 ENV LANG=en_US.UTF-8 @@ -99,7 +99,7 @@ USER root RUN curl -L -o credentials/settings/devstack.py https://raw.githubusercontent.com/edx/devstack/master/py_configuration_files/credentials.py -ENV DJANGO_SETTINGS_MODULE=credentials.settings.devstack +ENV DJANGO_SETTINGS_MODULE credentials.settings.devstack RUN pip install -r /edx/app/credentials/credentials/requirements/dev.txt RUN make pull_translations