Skip to content

Commit

Permalink
Merge pull request #74 from edx/dkaplan1/APER-3706_update-ubuntu-in-c…
Browse files Browse the repository at this point in the history
…redentials-public-dockerfile

chore: updating os version for credentials
  • Loading branch information
deborahgu authored Dec 11, 2024
2 parents 84556b9 + e7d989c commit a9bbf46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dockerfiles/credentials.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:focal AS base
FROM ubuntu:noble AS base

# System requirements
# - git; Used to pull in particular requirements from github rather than pypi,
Expand Down Expand Up @@ -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=18.17.1 --prebuilt
RUN nodeenv $NODE_ENV --node=20.17.0 --prebuilt
ENV PATH="$NODE_ENV/bin:$PATH"
RUN npm install -g npm@9.x.x
RUN npm install -g npm@10.x.x

RUN locale-gen en_US.UTF-8
ENV LANG=en_US.UTF-8
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit a9bbf46

Please sign in to comment.