I see then my first guess was wrong. I’ve never played with Docker so I wasn’t aware you had to specify locales when creating the image.
Glad to see you got it worked out and thanks for posting the solution for posterity! Regards, Adrien > On Mar 5, 2018, at 5:17 AM, r0bis <[email protected]> wrote: > > Thanks Adrien, > > I sorted this issue. It was the case that docker image had no specific > locale set so it was the fallback to POSIX/ASCII > > Once I compiled the docker image with correct locale everything was fine: > > FROM ubuntu > MAINTAINER "R" > ENV DEBIAN_FRONTEND noninteractive > RUN apt-get update -q && apt-get install -y \ > locales \ > mysql-client \ > gnucash \ > gnucash-docs \ > yelp \ > dbus-x11 \ > --no-install-recommends \ > && rm -rf /var/lib/apt/lists/* \ > && rm -rf /src/*.deb > > # LOCLES: uncomment chosen locale to enable it's generation > RUN sed -i 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen > # generate chosen locale > RUN locale-gen en_GB.UTF-8 > # set system-wide locale settings > ENV LANG en_GB.UTF-8 > ENV LANGUAGE en_GB > ENV LC_ALL en_GB.UTF-8 > # verify modified configuration > RUN dpkg-reconfigure --frontend noninteractive locales > > RUN groupadd gnucash \ > && useradd -g gnucash -G video gnucash -m > > # run gnucash as non-privileged user > USER gnucash > > ENTRYPOINT ["/usr/bin/gnucash", "--logto", "stderr"] > > > > > -- > Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html > _______________________________________________ > gnucash-user mailing list > [email protected] > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. _______________________________________________ gnucash-user mailing list [email protected] To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
