更新 'Dockerfile'
This commit is contained in:
parent
51fc247947
commit
8caf216fec
22
Dockerfile
22
Dockerfile
@ -18,5 +18,27 @@ ADD ./fonts/SourceHanSansCN-Regular.otf /usr/share/fonts/SourceHanSansCN-Regular
|
||||
|
||||
RUN apt-get install -y nano net-tools ca-certificates
|
||||
|
||||
RUN mv /cartodb /cartodb-back
|
||||
|
||||
RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb && \
|
||||
cd cartodb && \
|
||||
# Install cartodb extension
|
||||
# cd lib/sql && \
|
||||
# PGUSER=postgres make install && \
|
||||
# service postgresql start && /bin/su postgres -c \
|
||||
# /tmp/cartodb_pgsql.sh && service postgresql stop && \
|
||||
# cd - && \
|
||||
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 && \
|
||||
bundle update thin && \
|
||||
/bin/bash -l -c 'bundle install' && \
|
||||
# cp config/grunt_development.json ./config/grunt_true.json && \
|
||||
# /bin/bash -l -c 'bundle exec grunt'
|
||||
# && \
|
||||
#rm -rf .git /root/.cache/pip node_modules
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user