File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ EXPOSE 3306
2323
2424ENV DEBIAN_FRONTEND=noninteractive
2525RUN apt-get -y update && \
26+ # apt-get upgrade is normally not a good idea, but this is a dev container
27+ apt-get upgrade && \
2628 # Install all dependencies that are available as packages
2729 apt-get -y install --no-install-recommends \
2830 apache2-utils \
@@ -37,6 +39,7 @@ RUN apt-get -y update && \
3739 graphviz \
3840 libmagic-dev \
3941 libmariadb-dev \
42+ locales \
4043 mariadb-server \
4144 npm \
4245 pigz \
@@ -69,6 +72,12 @@ RUN apt-get -y update && \
6972 apt-get -y clean && \
7073 rm -rf /var/lib/apt/lists/*
7174
75+ # Set locale to en_US.UTF-8
76+ RUN dpkg-reconfigure locales && \
77+ locale-gen en_US.UTF-8 && \
78+ update-locale LC_ALL en_US.UTF-8
79+ ENV LC_ALL en_US.UTF-8
80+
7281# Install bower
7382RUN npm install -g bower
7483
@@ -95,6 +104,10 @@ RUN sed -i 's/\[mysqld\]/\[mysqld\]\nperformance_schema=ON/' /etc/mysql/mariadb.
95104# This is the repo that has the PR:
96105ADD https://github.com/grooverdan/mariadb-sys/archive/refs/heads/master.zip /
97106RUN unzip /master.zip
107+ RUN rm /master.zip
108+
109+ # Colorize the bash shell
110+ RUN sed -i 's/#force_color_prompt=/force_color_prompt=/' /root/.bashrc
98111
99112# Copy the startup file
100113COPY docker-init.sh /docker-init.sh
You can’t perform that action at this time.
0 commit comments