Merge pull request #55 from zijiren233/master

Feat: ubuntu dockerfile重写,以直接运行bds
This commit is contained in:
Suwings 2022-07-02 22:47:51 +08:00 committed by GitHub
commit 8977d0bead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,13 +225,13 @@ WORKDIR /workspace
this.version = "16";
}
if (type === 3) {
this.dockerFile = `FROM ubuntu:latest
this.dockerFile = `FROM ubuntu:18.04
RUN mkdir -p /workspace
RUN apt update
RUN apt -y update && apt -y install openssl
WORKDIR /workspace
`;
this.name = "mcsm-ubuntu";
this.version = "latest";
this.version = "18.04";
}
if (type === 5) {
this.dockerFile = `FROM openjdk:17