更新 'Dockerfile'

This commit is contained in:
zhongjin 2023-05-11 22:12:06 +08:00
parent 696b1a9d9b
commit 09d6962abb

View File

@ -189,12 +189,15 @@ RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb &&
service postgresql start && /bin/su postgres -c \
/tmp/cartodb_pgsql.sh && service postgresql stop
RUN cd /cartodb && npm install
# rm -r /tmp/npm-* /root/.npm && \
RUN cd /cartodb && perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \
pip install --no-binary :all: -r python_requirements.txt
RUN cd /cartodb && \
npm install && \
rm -r /tmp/npm-* /root/.npm && \
perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \
pip install --no-binary :all: -r python_requirements.txt && \
gem install bundler --version=1.17.3 && gem install compass archive-tar-minitar rack && \
gem install bundler --version=1.17.3 && \
gem install compass archive-tar-minitar rack && \
bundle update thin && \
/bin/bash -l -c 'bundle install' && \
cp config/grunt_development.json ./config/grunt_true.json && \