Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit 07b5d8c

Browse files
authored
Fix ubuntu16.04 docker file (#3525)
* fix ubuntu 16.04 docker file * Fix ubuntu docker file
1 parent e0bb08a commit 07b5d8c

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

docker/compile/Dockerfile.ubuntu16.04

+8-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ FROM ubuntu:16.04
2121
ENV TARGET_PLATFORM ubuntu
2222
ENV bazelVersion 3.0.0
2323

24+
RUN apt-get update && apt-get install -y software-properties-common
25+
26+
RUN add-apt-repository ppa:openjdk-r/ppa
27+
2428
RUN apt-get update && apt-get -y install \
2529
automake \
2630
build-essential \
@@ -31,12 +35,15 @@ RUN apt-get update && apt-get -y install \
3135
libtool-bin \
3236
libunwind8 \
3337
libunwind-setjmp0-dev \
38+
pkg-config \
3439
python-dev \
3540
libcppunit-dev \
3641
tree \
3742
zip \
3843
unzip \
39-
wget \
44+
wget
45+
46+
RUN apt-get update && apt-get -y install \
4047
openjdk-11-jdk-headless
4148

4249
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64

docker/dist/Dockerfile.dist.ubuntu16.04

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@
1717

1818
FROM ubuntu:16.04
1919

20-
RUN apt-get update
20+
RUN apt-get update && apt-get install -y software-properties-common
21+
22+
RUN add-apt-repository ppa:openjdk-r/ppa
2123

2224
RUN apt-get -y install \
2325
python \
2426
python3 \
2527
unzip \
2628
software-properties-common \
2729
curl \
28-
supervisor \
30+
supervisor
31+
32+
RUN apt-get update && apt-get -y install \
2933
openjdk-11-jdk-headless
3034

3135
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64

0 commit comments

Comments
 (0)