Skip to content

Commit

Permalink
Ignore dynaconf stderr and install gettext (#174)
Browse files Browse the repository at this point in the history
* Ignore dynaconf stderr when getting values for settings.
* Translations require gettext.

No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner authored Oct 10, 2024
1 parent 67d67fb commit 1034c81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN switch_python "$PYTHON_VERSION"

RUN pip3 install -r dev_requirements.txt

RUN dnf -y install gettext

COPY settings.py /etc/pulp/settings.py
COPY s6-rc.d/oci-env-prepare/ /etc/s6-overlay/s6-rc.d/oci-env-prepare/
COPY s6-rc.d/oci-env-profiles /etc/s6-overlay/s6-rc.d/oci-env-profiles/
Expand Down
2 changes: 1 addition & 1 deletion base/container_scripts/get_dynaconf_var.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dynaconf get $1
dynaconf get $1 2>/dev/null

0 comments on commit 1034c81

Please sign in to comment.