Skip to content

Commit 10092b4

Browse files
committed
Merge branch 'icu4j' into icu4j-coverity
2 parents 2aecbc9 + b976a8e commit 10092b4

File tree

4 files changed

+48
-1
lines changed

4 files changed

+48
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ this will make error messages work
4242

4343
- do some command line builds
4444

45-
```
45+
```shell
4646
$ docker-compose run ubuntu bash
4747
build@59b67f6c5058:~$ /src/icu/icu4c/source/configure
4848
checking for ICU version numbers...
@@ -69,6 +69,14 @@ export [email protected]
6969
Note: you may want to do `docker-compose run ubuntu` and then run the script from the command line
7070
if there are problems.
7171

72+
## ICU4J
73+
74+
- the following will build (in-source!) using adoptopenjdk9
75+
76+
```shell
77+
docker-compose run fedora-j ant jar check
78+
```
79+
7280
## Author
7381

7482
Steven R. Loomis

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# © 2016 and later: Unicode, Inc. and others.
22
# License & terms of use: http://www.unicode.org/copyright.html
33

4+
fedora-j:
5+
build: ./dockerfiles/fedora-j
6+
volumes:
7+
- ./src:/src
8+
- ./dist:/dist
9+
410
ubuntu:
511
build: ./dockerfiles/ubuntu
612
volumes:

dockerfiles/fedora-j/Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# © 2016 and later: Unicode, Inc. and others.
2+
# License & terms of use: http://www.unicode.org/copyright.html
3+
4+
FROM registry.fedoraproject.org/fedora:latest
5+
MAINTAINER Steven R. Loomis <[email protected]>
6+
7+
USER root
8+
ENV HOME /home/build
9+
RUN useradd -c "Build user" -d $HOME -m build
10+
#ENV RPMOPTZ --setopt=deltarpm=false
11+
# sanity and safety
12+
RUN dnf -q -y upgrade $RPMOPTZ
13+
ADD adoptopenjdk.repo /etc/yum.repos.d
14+
RUN dnf -q -y install adoptopenjdk-8-openj9 $RPMOPTZ
15+
RUN dnf -q -y install ant $RPMOPTZ
16+
#extra
17+
# editing
18+
#RUN apt-get -q -y install emacs24-nox
19+
RUN mkdir /src /dist
20+
VOLUME /src
21+
VOLUME /dist
22+
VOLUME /home/build
23+
WORKDIR /home/build
24+
USER build
25+
ENV JAVA_HOME /usr/lib/jvm/adoptopenjdk-8-openj9/
26+
WORKDIR /src/icu/icu4j
27+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[AdoptOpenJDK]
2+
name=AdoptOpenJDK
3+
baseurl=http://adoptopenjdk.jfrog.io/adoptopenjdk/rpm/fedora/$releasever/$basearch
4+
enabled=1
5+
gpgcheck=1
6+
gpgkey=https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public

0 commit comments

Comments
 (0)