File tree Expand file tree Collapse file tree 4 files changed +48
-1
lines changed
Expand file tree Collapse file tree 4 files changed +48
-1
lines changed Original file line number Diff line number Diff 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...
6969Note: you may want to do ` docker-compose run ubuntu ` and then run the script from the command line
7070if 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
7482Steven R. Loomis
Original file line number Diff line number Diff line change 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+
410ubuntu :
511 build : ./dockerfiles/ubuntu
612 volumes :
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments