更新 'Dockerfile'

This commit is contained in:
zhongjin 2023-05-11 12:36:29 +08:00
parent fd7afb0896
commit c3970f621b

View File

@ -18,16 +18,17 @@ ADD ./fonts/SourceHanSansCN-Regular.otf /usr/share/fonts/SourceHanSansCN-Regular
RUN apt-get install -y nano net-tools ca-certificates RUN apt-get install -y nano net-tools ca-certificates
#RUN rm -rf /cartodb RUN rm -rf /cartodb
#RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb && \ RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb && \
# cd cartodb && \ cd cartodb && \
# cd lib/sql && \ # cd lib/sql && \
# PGUSER=postgres make install && \ # PGUSER=postgres make install && \
# service postgresql start && /bin/su postgres -c \ # service postgresql start && /bin/su postgres -c \
# /tmp/cartodb_pgsql.sh && service postgresql stop && \ # /tmp/cartodb_pgsql.sh && service postgresql stop && \
# cd - && \ # cd - && \
# npm install && \ npm install && \
# rm -r /tmp/npm-* /root/.npm && \ # rm -r /tmp/npm-* /root/.npm && \
# perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \ # perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \
# pip install --no-binary :all: -r python_requirements.txt && \ # pip install --no-binary :all: -r python_requirements.txt && \
@ -35,7 +36,7 @@ RUN apt-get install -y nano net-tools ca-certificates
# bundle update thin && \ # bundle update thin && \
# /bin/bash -l -c 'bundle install' && \ # /bin/bash -l -c 'bundle install' && \
# cp config/grunt_development.json ./config/grunt_true.json && \ # cp config/grunt_development.json ./config/grunt_true.json && \
# /bin/bash -l -c 'bundle exec grunt' /bin/bash -l -c 'bundle exec grunt'
# && \ # && \
#rm -rf .git /root/.cache/pip node_modules #rm -rf .git /root/.cache/pip node_modules