Skip to content

Commit

Permalink
chore: ロケール設定を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Mar 26, 2024
1 parent 93e95de commit d41064a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/ap
RUN apt-get update && \
apt-get install -y sbt

# 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
# 日本語関連のパーケージをインストール
RUN apt-get install -y language-pack-ja-base language-pack-ja

# ロケールを日本語に設定する
RUN update-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja" && \
echo "export LANG=ja_JP.UTF-8" >> /home/$USERNAME/.bashrc

COPY --from=build-env --link /app/target/release/seichiassist-downloader /
CMD ["./seichiassist-downloader"]
Expand Down

0 comments on commit d41064a

Please sign in to comment.