Skip to content

Instantly share code, notes, and snippets.

@lifefeel
Last active December 15, 2020 10:47
Show Gist options
  • Save lifefeel/6f787033d656017b5acba3255073bf1a to your computer and use it in GitHub Desktop.
Save lifefeel/6f787033d656017b5acba3255073bf1a to your computer and use it in GitHub Desktop.
도커 이미지 생성 시 locale을 UTF-8 설정 및 timezone 설정
FROM ubuntu
# Locale Setting
ENV LC_ALL C.UTF-8
# Timezone Setting
RUN apt-get update && apt-get install -y tzdata
RUN ls /usr/share/zoneinfo && \
ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime && \
echo "Asia/Seoul" > /etc/timezone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment