This commit is contained in:
ark
2026-01-30 13:41:30 +03:00
parent 11bea35f68
commit 39908c81ca
3 changed files with 25 additions and 21 deletions
+9 -9
View File
@@ -6,8 +6,8 @@ ARG SERVER_VERSION 8.3.24.1586
# Variables For Container
# Common
ENV LANG=ru_RU.UTF8
ENV LC_ALL=ru_RU.UTF8
ENV LANG=ru_RU.UTF-8
ENV LC_ALL=ru_RU.UTF-8
ENV TZ=Europe/Moscow
# Server
ENV SERVER_VERSION=${SERVER_VERSION}
@@ -34,10 +34,13 @@ RUN apt-get -qq update \
iproute2 \
apache2 \
libwebkit2gtk-4.0-37 \
gawk \
&& apt-get clean && apt-get autoremove
# Set locale
RUN locale-gen ${LANG} \
RUN echo "${LANG} UTF-8" > /etc/locale.gen \
&& locale-gen ${LANG} \
&& update-locale LANG=${LANG} \
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# S6 overlay install
@@ -54,12 +57,9 @@ RUN /tmp/distr/1c/setup-full-${SERVER_VERSION}-x86_64.run \
--enable-components \
ws,liberica_jre,v8_install_deps,client_thin_fib \
--disable-components \
client_full
# RUN rm /tmp/distr/*
RUN /tmp/distr/license/1ce-installer-cli install --ignore-signature-warnings
client_full
RUN /tmp/distr/license/1ce-installer-cli install --ignore-signature-warnings
RUN rm -rf /tmp/distr/*
#COPY ./services.d /etc/services.d
COPY ./entrypoint.sh /entrypoint.sh