mirror of
https://github.com/MeiK2333/river.git
synced 2025-11-04 14:49:40 +08:00
add java
This commit is contained in:
parent
83300beb9d
commit
0dddf01498
16
Dockerfile
16
Dockerfile
@ -12,20 +12,17 @@ FROM ubuntu:18.04
|
|||||||
|
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
|
|
||||||
RUN apt update
|
RUN apt update -y
|
||||||
|
|
||||||
# install gcc g++
|
# install gcc g++
|
||||||
RUN apt install -y \
|
RUN apt install -y \
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
gcc
|
||||||
libc6-dev \
|
|
||||||
make \
|
|
||||||
pkg-config
|
|
||||||
|
|
||||||
# install python3.6
|
# install python3.8
|
||||||
RUN apt install -y software-properties-common && \
|
RUN apt install -y software-properties-common && \
|
||||||
add-apt-repository -y ppa:deadsnakes/ppa && \
|
add-apt-repository -y ppa:deadsnakes/ppa && \
|
||||||
apt install python3.6
|
apt install -y python3.8
|
||||||
|
|
||||||
# install rust
|
# install rust
|
||||||
RUN apt install -y curl && \
|
RUN apt install -y curl && \
|
||||||
@ -37,9 +34,12 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
|||||||
apt install -y nodejs
|
apt install -y nodejs
|
||||||
|
|
||||||
# install go
|
# install go
|
||||||
RUN add-apt-repository ppa:longsleep/golang-backports && \
|
RUN add-apt-repository -y ppa:longsleep/golang-backports && \
|
||||||
apt install -y golang-go
|
apt install -y golang-go
|
||||||
|
|
||||||
|
# install openjdk
|
||||||
|
RUN apt install -y default-jdk
|
||||||
|
|
||||||
# TODO: install other languages
|
# TODO: install other languages
|
||||||
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
RUN rm -rf /var/lib/apt/lists/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user