|
@@ -3,10 +3,24 @@ FROM node:14
|
|
|
RUN apt-get update && apt-get install -y wget unzip openssh-server
|
|
|
|
|
|
# install java 11
|
|
|
+RUN wget https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz &&\
|
|
|
+ tar -zxvf openjdk-11.0.2_linux-x64_bin.tar.gz &&\
|
|
|
+ mv jdk-11.0.2 /usr/local/jdk11 &&\
|
|
|
+ rm -rf openjdk-11.0.2_linux-x64_bin.tar.gz
|
|
|
|
|
|
# install python3.8
|
|
|
+RUN wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz &&\
|
|
|
+ tar -zxvf Python-3.8.0.tgz &&\
|
|
|
+ cd Python-3.8.0 &&\
|
|
|
+ ./configure --prefix=/usr/local/python3.8 &&\
|
|
|
+ make && make install &&\
|
|
|
+ rm -rf Python-3.8.0.tgz
|
|
|
|
|
|
-# install go
|
|
|
+# install go
|
|
|
+RUN wget https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz &&\
|
|
|
+ tar -zxvf go1.14.2.linux-amd64.tar.gz &&\
|
|
|
+ mv go /usr/local/go &&\
|
|
|
+ rm -rf go1.14.2.linux-amd64.tar.gz
|
|
|
|
|
|
# install vscode and extension
|
|
|
RUN curl -fsSL https://code-server.dev/install.sh | sh &&\
|