Docker, Locales, and Ruby
# Set the locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
Source: Docker and Locales.
Fixes invalid byte sequence in US-ASCII
in Ruby when using Docker. Found via this prmd issue.