瀏覽代碼

add Dockerfile for nodeweb

Tomishinets Vladimir 4 年之前
父節點
當前提交
ff25d954e9
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      nodeweb/Dockerfile

+ 14 - 0
nodeweb/Dockerfile

@@ -0,0 +1,14 @@
+FROM tomcat:9-jdk8
+
+RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - \
+    && echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" \
+        | tee /etc/apt/sources.list.d/mongodb-org-4.2.list \
+    && apt update \
+    && apt-get install -y jq mongodb-org-shell firebird3.0-utils figlet telnet net-tools dnsutils maven locales \
+    && curl -sL https://deb.nodesource.com/setup_14.x | bash - \
+    && apt-get install -y nodejs \
+    && npm install -g grunt \
+    && npm install -g sass \
+    && npm install ruby --save \
+    && printf "Host git.alfatell.ru \n\tStrictHostKeyChecking no" > /root/.ssh/config \
+    && localedef -i ru_RU -f UTF-8 ru_RU.UTF-8