welaika / docker-wordmove

Docker image to run Wordmove
https://hub.docker.com/r/welaika/wordmove/
16 stars 9 forks source link

Should wordmove have local en_US.UTF-8 and run ssh-agent? #18

Closed alessandro-fazzi closed 2 years ago

alessandro-fazzi commented 4 years ago

A reference to this issue staled into the Wordmove's issue trakcer: https://github.com/welaika/wordmove/issues/589

alexx855 commented 3 years ago

i think im having the same issue image

And patching the image like the issue seems to work

apt-get update \
        && apt-get install -y locales \
        && rm -r /var/lib/apt/lists/* \
        && sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
        && locale-gen \
        && echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc \
        && echo "export LANG=en_US.UTF-8" >> ~/.bashrc \
        && echo "export LANGUAGE=en_US.UTF-8" >> ~/.bashrc \
        && echo "eval \`ssh-agent -s\`" >> ~/.bashrc
alessandro-fazzi commented 2 years ago

Fixed into latest/php7 tags.

If someone would like to help porting this feature into alpine too I'll be glad to follow-up.

Keep also in mind that future release of wordmove will drop the default sql_adapter, actually circumventing encoding problems.

Cheers

/cc @alexx855