Warning, /wikitolearn/wikitolearn-content-migration/src/Dockerfile is written in an unsupported language. File is not indexed.

0001 FROM debian:9
0002 
0003 ENV PYTHONUNBUFFERED=True
0004 
0005 RUN sed -i 's#deb.debian.org#ct.mirror.garr.it/mirrors#g' /etc/apt/sources.list
0006 RUN apt-get update && echo invalidate-docker-cache-1
0007 RUN apt-get install -y ca-certificates
0008 RUN apt-get install -y curl
0009 RUN apt-get install -y lsb-release
0010 RUN apt-get install -y apt-transport-https
0011 RUN apt-get install -y gnupg2
0012 RUN bash -c "curl -sL https://deb.nodesource.com/setup_6.x | bash -"
0013 RUN apt-get install -y nodejs
0014 ENV NODE_PATH=/usr/lib/node_modules/
0015 RUN apt-get install -y git
0016 RUN apt-get install -y librsvg2-dev
0017 
0018 RUN npm install -g parsoid
0019 RUN npm install -g mathoid-texvcjs
0020 RUN npm install -g mongodb
0021 
0022 RUN apt-get install -y python3
0023 RUN apt-get install -y python3-setuptools
0024 RUN apt-get install -y python3-yaml
0025 RUN apt-get install -y python3-pymongo
0026 RUN apt-get install -y python3-tqdm
0027 RUN apt-get install -y python3-configargparse
0028 RUN apt-get install -y python3-phpserialize
0029 RUN apt-get install -y python3-requests
0030 RUN apt-get install -y python3-requests-cache
0031 RUN apt-get install -y python3-flask
0032 RUN apt-get install -y python3-bs4
0033 RUN apt-get install -y python3-lxml
0034 RUN apt-get install -y python3-html5lib
0035 RUN apt-get install -y python3-mysqldb
0036 
0037 ENTRYPOINT ["/bin/bash", "/opt/entrypoint.sh"]
0038 
0039 ARG USER_ID
0040 ARG GROUP_ID
0041 
0042 ENV USER_ID ${USER_ID:-1000}
0043 ENV GROUP_ID ${GROUP_ID:-1000}
0044 
0045 RUN groupadd -g $GROUP_ID wtl-migration-group
0046 RUN useradd \
0047   -u $USER_ID \
0048   -g wtl-migration-group \
0049   -m \
0050   -d /var/lib/wtl-migration-user \
0051   wtl-migration-user
0052 
0053 USER wtl-migration-user
0054 
0055 ADD . /opt/