Skip to content

Commit d105d1b

Browse files
wesmkou
authored andcommitted
ARROW-5466: [Java][CI] Dockerize Java CI, run all JDK builds in single Travis entry
Since OpenJDK9 has been superseded by OpenJDK11, it is not available in package repositories, so I'm not sure it's worth maintaining a build for this. I have pushed a pre-built Docker image for this to https://cloud.docker.com/u/ursalab/repository/docker/ursalab/arrow-ci-java-all-jdks Author: Wes McKinney <wesm+git@apache.org> Closes apache#4761 from wesm/java-dockerify and squashes the following commits: 8b81037 <Wes McKinney> Actually run Java unit tests cf568a2 <Wes McKinney> Code review feedback 6cb5e3f <Wes McKinney> Build Javadoc in docker-compose job d9c3900 <Wes McKinney> Run all Java builds in a single Dockerized Travis CI entry
1 parent dacc0d1 commit d105d1b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Dockerfile.all-jdks

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
FROM ubuntu:18.04
19+
20+
# install build essentials
21+
RUN export DEBIAN_FRONTEND=noninteractive && \
22+
apt-get update -y -q && \
23+
apt-get install -y -q --no-install-recommends \
24+
wget \
25+
software-properties-common \
26+
ca-certificates \
27+
maven \
28+
rsync \
29+
tzdata \
30+
openjdk-8-jdk \
31+
openjdk-11-jdk && \
32+
apt-get clean && rm -rf /var/lib/apt/lists/*
33+
34+
# Test all supported JDKs
35+
CMD ["arrow/ci/docker_java_test_all.sh"]

0 commit comments

Comments
 (0)