mirror of
https://github.com/corda/corda.git
synced 2024-12-27 08:22:35 +00:00
Update docker container and JDK make file
* Add missing build dependencies to `docker-minimal` * Build JDK without ALSA, CUPS, FreeType, Pulse and X11
This commit is contained in:
parent
571c1ff31f
commit
fdf29f3c58
@ -29,7 +29,10 @@ jdk8u:
|
||||
git clone -b deterministic-jvm8 --single-branch https://github.com/corda/openjdk $@
|
||||
|
||||
$(JDK_IMAGE): jdk8u
|
||||
cd jdk8u && $(SHELL) ./configure && $(MAKE) JOBS=2 images docs
|
||||
cd jdk8u && \
|
||||
ALSA_NOT_NEEDED=yes CUPS_NOT_NEEDED=yes FREETYPE_NOT_NEEDED=yes \
|
||||
PULSE_NOT_NEEDED=yes X11_NOT_NEEDED=yes $(SHELL) ./configure && \
|
||||
$(MAKE) JOBS=2 images docs
|
||||
|
||||
linux-sgx/external/ippcp_internal/inc:
|
||||
cd linux-sgx && $(SHELL) ./download_prebuilt.sh
|
||||
|
@ -26,4 +26,4 @@ Some dependencies are still required to be installed, these are specified in `do
|
||||
```bash
|
||||
$ docker build -t minimal docker-minimal # builds a Docker image using docker-minimal/
|
||||
$ bash build_in_image.sh minimal # Runs the build inside the `minimal` image
|
||||
```
|
||||
```
|
||||
|
@ -1,6 +1,8 @@
|
||||
FROM ubuntu:xenial
|
||||
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y make gcc autoconf cmake g++ openjdk-8-jdk libtool ocaml python2.7
|
||||
RUN apt-get install -y mercurial wget
|
||||
RUN apt-get install -y \
|
||||
autoconf ccache cmake cpio g++ gcc git libtool make \
|
||||
ocaml openjdk-8-jdk python2.7 unzip wget zip
|
||||
|
||||
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
|
||||
|
Loading…
Reference in New Issue
Block a user