Ubuntu 25.10 stopped providing /usr/share/locale/locale.alias, which
had been declared as "obsolete" for quite a while, as is mentioned in
its header:

  # Note: This file is obsolete and is kept around for the time being for
  # backward compatibility.  Nobody should rely on the names defined here.

Remove the option who depends on it.

Note: This option is still mentioned at ubuntu's container image description
at https://hub.docker.com/_/ubuntu#locales as of this writing.

Signed-off-by: Akira Yokosawa <[email protected]>
---
 docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index c3e2a237..ee120e4b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,7 +2,7 @@ ARG rel=latest
 FROM ubuntu:$rel
 
 RUN apt-get update && apt-get upgrade -y && apt-get install -y locales && \
-    localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias 
en_US.UTF-8 && \
+    localedef -i en_US -c -f UTF-8 en_US.UTF-8 && \
     rm -rf /var/lib/apt/lists/*
 ENV LANG en_US.utf8
 RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=UTC apt-get install -y 
tzdata && \
-- 
2.43.0



Reply via email to