From 0dddf01498cc7d23b74c8809dbadc8ff6f0a479d Mon Sep 17 00:00:00 2001 From: MeiK Date: Fri, 30 Oct 2020 11:38:17 +0800 Subject: [PATCH] add java --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6ce1614..83e0842 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,20 +12,17 @@ FROM ubuntu:18.04 ENV LANG C.UTF-8 -RUN apt update +RUN apt update -y # install gcc g++ RUN apt install -y \ g++ \ - gcc \ - libc6-dev \ - make \ - pkg-config + gcc -# install python3.6 +# install python3.8 RUN apt install -y software-properties-common && \ add-apt-repository -y ppa:deadsnakes/ppa && \ - apt install python3.6 + apt install -y python3.8 # install rust RUN apt install -y curl && \ @@ -37,9 +34,12 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ apt install -y nodejs # install go -RUN add-apt-repository ppa:longsleep/golang-backports && \ +RUN add-apt-repository -y ppa:longsleep/golang-backports && \ apt install -y golang-go +# install openjdk +RUN apt install -y default-jdk + # TODO: install other languages RUN rm -rf /var/lib/apt/lists/*