Skip to content

Instantly share code, notes, and snippets.

View kocsismate's full-sized avatar

Máté Kocsis kocsismate

View GitHub Profile
@alextanhongpin
alextanhongpin / instructions.md
Last active June 13, 2023 16:48
Setting up locale on alpine:3.6 docker image

Locale

When using the alpine docker image, the command locale -a or locale-gen does not exist. You might need them to install different locales in your docker image to allow your applications to support multilingual. Most common issue is when dealing with database inputs (MySQL), whereby the text will be displayed as garbage characters if you do not have the right locale installed.

FROM alpine:3.6

# ---not shown here---