Skip to content

Commit

Permalink
添加中文语言,防止乱码出现
Browse files Browse the repository at this point in the history
  • Loading branch information
vlssu committed Apr 23, 2024
1 parent 8f85774 commit c24c0bb
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 21 deletions.
5 changes: 3 additions & 2 deletions java/11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl-chin
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down
5 changes: 3 additions & 2 deletions java/11j9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl-chin
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down
5 changes: 3 additions & 2 deletions java/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl-chin
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down
5 changes: 3 additions & 2 deletions java/16j9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl-chin
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down
5 changes: 3 additions & 2 deletions java/17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl-chin
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down
5 changes: 3 additions & 2 deletions java/18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl-chin
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down
5 changes: 3 additions & 2 deletions java/19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl-chin
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down
7 changes: 4 additions & 3 deletions java/21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/pterodactyl-china/yolks"
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down
5 changes: 3 additions & 2 deletions java/8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl-chin
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down
5 changes: 3 additions & 2 deletions java/8j9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl-chin
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 locales \
&& useradd -d /home/container -m container \
&& locale-gen zh_CN.UTF-8

USER container
ENV USER=container HOME=/home/container
Expand Down

0 comments on commit c24c0bb

Please sign in to comment.