File tree Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,12 @@ RUN sh -c "fping proxy && echo 'Acquire { Retries \"0\"; HTTP { Proxy \"http://p
2929RUN apt-mark hold initscripts
3030RUN apt-get -y upgrade
3131
32- RUN DEBIAN_FRONTEND=noninteractive apt-get install -y locales locales-all
32+ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y locales
3333ENV LC_ALL en_US.UTF-8
3434ENV LANG en_US.UTF-8
3535ENV LANGUAGE en_US.UTF-8
36+ RUN sed -i "s/^# $LANG/$LANG/" /etc/locale.gen; \
37+ locale-gen
3638
3739RUN install -d /usr/share/postgresql-common/pgdg &&\
3840 curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc &&\
@@ -66,7 +68,6 @@ RUN cd / &&\
6668 mkdir -p /etc/runit/1.d &&\
6769 apt-get clean &&\
6870 rm -f /etc/apt/apt.conf.d/40proxy &&\
69- locale-gen en_US &&\
7071 DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs yarn &&\
7172 npm install -g terser uglify-js pnpm
7273
Original file line number Diff line number Diff line change 1717 to : sv start postgres || exit 1
1818
1919run :
20- - exec : locale-gen $LANG && update-locale
20+ - exec : sed -i "s/^# $LANG/$LANG/" /etc/locale.gen
21+ - exec : locale-gen && update-locale
2122 - exec : mkdir -p /shared/postgres_run
2223 - exec : chown postgres:postgres /shared/postgres_run
2324 - exec : chmod 775 /shared/postgres_run
Original file line number Diff line number Diff line change 5252 chmod : " +x"
5353 contents : |
5454 #!/bin/bash
55- locale-gen $LANG && update-locale
55+ sed -i "s/^# $LANG/$LANG/" /etc/locale.gen
56+ locale-gen && update-locale
5657 mkdir -p /shared/postgres_run
5758 chown postgres:postgres /shared/postgres_run
5859 chmod 775 /shared/postgres_run
Original file line number Diff line number Diff line change 5050 chmod : " +x"
5151 contents : |
5252 #!/bin/bash
53- locale-gen $LANG && update-locale
53+ sed -i "s/^# $LANG/$LANG/" /etc/locale.gen
54+ locale-gen && update-locale
5455 mkdir -p /shared/postgres_run
5556 chown postgres:postgres /shared/postgres_run
5657 chmod 775 /shared/postgres_run
Original file line number Diff line number Diff line change 1515 filename : " /etc/nginx/conf.d/discourse.conf"
1616 from : /listen 80;\s+gzip on;/m
1717 to : |
18- listen 443 ssl http2;
18+ listen 443 ssl;
19+ http2 on;
1920 SSL_TEMPLATE_SSL_BLOCK
2021 - replace :
2122 filename : " /etc/nginx/conf.d/discourse.conf"
2223 from : /listen 80;\s+listen \[::\]:80;\s+gzip on;/m
2324 to : |
24- listen 443 ssl http2;
25- listen [::]:443 ssl http2;
25+ listen 443 ssl;
26+ listen [::]:443 ssl;
27+ http2 on;
2628 SSL_TEMPLATE_SSL_BLOCK
2729 - replace :
2830 hook : ssl
You can’t perform that action at this time.
0 commit comments