[devdocsgjs/wip/andyholmes/locale-cleanup] Dockerfile: skip unnecessary locale install step
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/wip/andyholmes/locale-cleanup] Dockerfile: skip unnecessary locale install step
- Date: Wed, 6 Apr 2022 23:23:05 +0000 (UTC)
commit de9796d994be2f1e84ea45b58e88845cc3d1be42
Author: Andy Holmes <andrew g r holmes gmail com>
Date: Wed Apr 6 16:21:25 2022 -0700
Dockerfile: skip unnecessary locale install step
We can set `LANG=C.UTF-8` to appease the build and skip a step
downloading the english langpack.
Dockerfile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index e23adb16..beb1d318 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,6 +24,8 @@ RUN dnf install -y \
# We build in fedora:33 for the ruby dependency
FROM registry.fedoraproject.org/fedora:33 AS build
+ENV LANG=C.UTF-8
+
# These are GIRs from the fetch step
COPY --from=fetch /usr/share/gir-1.0 /usr/share/gir-1.0
COPY --from=fetch /usr/share/gnome-shell /usr/share/gnome-shell
@@ -45,11 +47,6 @@ COPY lib/docs/scrapers/gnome/girs/mutter-8 /usr/lib64/mutter-8
COPY lib/docs/scrapers/gnome/girs/mutter-9 /usr/lib64/mutter-9
# Install devdocs dependencies
-RUN dnf install -y glibc-langpack-en
-ENV LANG en_US.UTF-8
-ENV LANGUAGE en_US.UTF-8
-ENV LC_ALL en_US.UTF-8
-
RUN dnf install -y 'dnf-command(builddep)' @development-tools bzip2 gcc-c++ && \
dnf builddep -y ruby && \
dnf install -y ruby rubygem-bundler ruby-devel python3-markdown \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]