[FIX] update less to version 3.12.2 instead of 1.6.3
- Fix user documentation generation scss problem - Migration: remove lessc with sudo apt purge node-less
This commit is contained in:
parent
bfb1643b14
commit
890ca62d42
3 changed files with 9 additions and 5 deletions
|
|
@ -24,7 +24,6 @@ RUN apt-get update \
|
||||||
fonts-noto-cjk \
|
fonts-noto-cjk \
|
||||||
gnupg \
|
gnupg \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
node-less \
|
|
||||||
npm \
|
npm \
|
||||||
python3-num2words \
|
python3-num2words \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
|
|
@ -47,7 +46,6 @@ RUN apt-get update \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libldap2-dev \
|
libldap2-dev \
|
||||||
libsasl2-dev \
|
libsasl2-dev \
|
||||||
node-less \
|
|
||||||
gdebi-core \
|
gdebi-core \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
|
|
@ -86,6 +84,10 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' > /etc/
|
||||||
&& apt-get install --no-install-recommends -y postgresql-client-12 libpq-dev \
|
&& apt-get install --no-install-recommends -y postgresql-client-12 libpq-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Install npm dependencies
|
||||||
|
RUN npm install -g rtlcss less \
|
||||||
|
&& ln -fs /usr/local/bin/lessc /usr/bin/lessc
|
||||||
|
|
||||||
# Install python with pyenv
|
# Install python with pyenv
|
||||||
# Reference https://github.com/bopen/docker-ubuntu-pyenv
|
# Reference https://github.com/bopen/docker-ubuntu-pyenv
|
||||||
COPY pyenv-version.txt python-versions.txt /
|
COPY pyenv-version.txt python-versions.txt /
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ eval "$(docker-machine env default)"
|
||||||
echo "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
|
echo "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
|
||||||
brew install nodejs npm openssl
|
brew install nodejs npm openssl
|
||||||
sudo npm install -g rtlcss
|
sudo npm install -g rtlcss
|
||||||
sudo npm install -g lessc
|
sudo npm install -g less
|
||||||
yes n|pyenv install 3.7.7
|
yes n|pyenv install 3.7.7
|
||||||
pyenv local 3.7.7
|
pyenv local 3.7.7
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,13 +40,15 @@ sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true
|
||||||
# Install Dependencies
|
# Install Dependencies
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
echo -e "\n--- Installing debian dependency --"
|
echo -e "\n--- Installing debian dependency --"
|
||||||
sudo apt-get install git build-essential wget libxslt-dev libzip-dev libldap2-dev libsasl2-dev node-less libpng12-0 gdebi-core libffi-dev libbz2-dev -y
|
sudo apt-get install git build-essential wget libxslt-dev libzip-dev libldap2-dev libsasl2-dev libpng12-0 gdebi-core libffi-dev libbz2-dev -y
|
||||||
sudo apt-get install libmariadbd-dev -y
|
sudo apt-get install libmariadbd-dev -y
|
||||||
|
|
||||||
echo -e "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
|
echo -e "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
|
||||||
sudo apt-get install nodejs npm -y
|
sudo apt-get install nodejs npm -y
|
||||||
sudo npm install -g rtlcss
|
sudo npm install -g rtlcss
|
||||||
sudo npm install -g lessc
|
sudo npm install -g less
|
||||||
|
|
||||||
|
sudo ln -fs /usr/local/bin/lessc /usr/bin/lessc
|
||||||
|
|
||||||
if [ ${EL_INSTALL_NGINX} = "True" ]; then
|
if [ ${EL_INSTALL_NGINX} = "True" ]; then
|
||||||
echo -e "\n---- Installing nginx ----"
|
echo -e "\n---- Installing nginx ----"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue