Skip to content

Commit

Permalink
Removed locale stuff from dockerfile (#1777)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccoystephenson authored Jan 19, 2024
1 parent e16286b commit 47815c4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ RUN apt-get update
RUN apt-get install -y git \
openjdk-17-jdk \
openjdk-17-jre \
wget \
locales
wget

# Create server directory
WORKDIR /testmcserver
Expand All @@ -18,11 +17,6 @@ RUN java -jar BuildTools.jar --rev 1.20.4
RUN echo "eula=true" > eula.txt
RUN mkdir plugins

# set locale to support us, de, fr, & br
RUN locale-gen en_US.UTF-8 de_DE.UTF-8 fr_FR.UTF-8 pt_BR.UTF-8 && \
update-locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 && \
dpkg-reconfigure --frontend=noninteractive locales

# Build plugin
COPY . .
RUN ./gradlew build
Expand Down

0 comments on commit 47815c4

Please sign in to comment.