This repository was archived by the owner on Mar 3, 2023. It is now read-only.
File tree 7 files changed +69
-55
lines changed
7 files changed +69
-55
lines changed Original file line number Diff line number Diff line change 17
17
18
18
FROM centos:centos7
19
19
20
- RUN yum -y upgrade
21
- RUN yum -y install python; yum clean all
22
- RUN yum -y install unzip; yum clean all
23
- RUN yum -y install which; yum clean all
24
- RUN yum -y install curl; yum clean all
25
- RUN yum -y install nmap-ncat; yum clean all
26
- RUN yum -y install python python3-setuptools; yum clean all
27
-
28
- RUN yum install epel-release; yum clean all
29
- RUN yum update -y
30
- RUN yum install -y supervisor; yum clean all
31
-
32
- RUN yum -y install java-11-openjdk java-11-openjdk-devel; yum clean all
33
-
34
- ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk
20
+ RUN yum -y install epel-release \
21
+ && yum -y update \
22
+ && yum -y install \
23
+ curl \
24
+ java-11-openjdk-headless \
25
+ supervisor \
26
+ nmap-ncat \
27
+ python \
28
+ unzip \
29
+ which \
30
+ && yum clean all
35
31
36
32
ADD artifacts /heron
37
33
Original file line number Diff line number Diff line change 15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
17
18
- FROM openjdk:11.0.6-slim-buster
19
-
20
- RUN apt-get update && apt-get -y install \
21
- netcat-openbsd \
22
- curl \
23
- python \
24
- python2.7-dev \
25
- supervisor \
26
- unzip
18
+ FROM openjdk:11.0.6-jre-slim-buster
19
+
20
+ RUN apt-get update \
21
+ && apt-get -y install \
22
+ curl \
23
+ netcat-openbsd \
24
+ python \
25
+ supervisor \
26
+ unzip \
27
+ && apt-get clean
27
28
28
29
ADD artifacts /heron
29
30
Original file line number Diff line number Diff line change 15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
17
18
- FROM openjdk:11-jdk -slim-stretch
18
+ FROM openjdk:11-jre -slim-stretch
19
19
20
- RUN apt-get -y update && apt-get -y install \
20
+ RUN apt-get -y update \
21
+ && apt-get -y install \
22
+ curl \
21
23
netcat-openbsd \
22
24
python \
23
- python-dev \
25
+ supervisor \
24
26
unzip \
25
- curl \
26
- vim \
27
- supervisor && \
28
- apt-get clean all && \
29
- rm -rf /var/lib/apt/lists/*
27
+ && apt-get clean all \
28
+ && rm -rf /var/lib/apt/lists/*
30
29
31
30
ADD artifacts /heron
32
31
Original file line number Diff line number Diff line change 17
17
18
18
FROM ubuntu:14.04
19
19
20
- RUN apt-get -y update && apt-get -y install \
20
+ RUN apt-get -y update \
21
+ && apt-get -y install \
22
+ curl \
23
+ netcat-openbsd \
21
24
python \
22
- python3 \
23
- unzip \
24
25
software-properties-common \
25
26
supervisor \
26
- curl
27
+ unzip \
28
+ && apt-get clean
27
29
28
- RUN add-apt-repository ppa:openjdk-r/ppa && apt-get -y update && \
29
- apt-get -y install openjdk-11-jdk-headless
30
+ RUN add-apt-repository ppa:openjdk-r/ppa \
31
+ && apt-get -y update \
32
+ && apt-get -y install openjdk-11-jre-headless \
33
+ && apt-get clean
30
34
31
35
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
32
36
RUN update-ca-certificates -f
Original file line number Diff line number Diff line change 17
17
18
18
FROM ubuntu:16.04
19
19
20
- RUN apt-get update && apt-get install -y software-properties-common
21
-
22
- RUN add-apt-repository ppa:openjdk-r/ppa
23
-
24
- RUN apt-get -y install \
20
+ RUN apt-get -y update \
21
+ && apt-get install -y \
22
+ curl \
23
+ netcat-openbsd \
25
24
python \
26
- python3 \
27
- unzip \
28
25
software-properties-common \
29
- curl \
30
- supervisor
26
+ supervisor \
27
+ unzip \
28
+ && apt-get clean
29
+
30
+ RUN add-apt-repository ppa:openjdk-r/ppa
31
31
32
- RUN apt-get update && apt-get -y install \
33
- openjdk-11-jdk-headless
32
+ RUN apt-get update \
33
+ && apt-get -y install \
34
+ openjdk-11-jre-headless \
35
+ && apt-get clean
34
36
35
37
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
36
38
RUN update-ca-certificates -f
Original file line number Diff line number Diff line change 17
17
18
18
FROM ubuntu:18.04
19
19
20
- RUN apt-get update
21
- RUN apt-get -y install \
22
- unzip software-properties-common curl python python3 supervisor openjdk-11-jdk-headless
20
+ RUN apt-get -y update \
21
+ && apt-get -y install \
22
+ curl \
23
+ netcat-openbsd \
24
+ openjdk-11-jre-headless \
25
+ python \
26
+ supervisor \
27
+ unzip \
28
+ && apt-get clean
23
29
24
30
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
25
31
RUN update-ca-certificates -f
Original file line number Diff line number Diff line change @@ -19,9 +19,15 @@ FROM ubuntu:20.04
19
19
20
20
ARG DEBIAN_FRONTEND=noninteractive
21
21
22
- RUN apt-get update
23
- RUN apt-get -y install \
24
- unzip software-properties-common curl python python3 supervisor openjdk-11-jdk-headless
22
+ RUN apt-get -y update \
23
+ && apt-get -y install \
24
+ curl \
25
+ openjdk-11-jre-headless \
26
+ netcat-openbsd \
27
+ python \
28
+ supervisor \
29
+ unzip \
30
+ && apt-get clean
25
31
26
32
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
27
33
RUN update-ca-certificates -f
You can’t perform that action at this time.
0 commit comments