This is an automated email from the ASF dual-hosted git repository.

yzhao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d01cb5  MNEMONIC-757: Dev docker base image ubuntu version outdated 
and causing build error
1d01cb5 is described below

commit 1d01cb5ba9b08b339dda848f3fec7a301e796ef9
Author: Yanhui Zhao <[email protected]>
AuthorDate: Mon Aug 15 20:52:08 2022 -0700

    MNEMONIC-757: Dev docker base image ubuntu version outdated and causing 
build error
---
 docker/docker-Ubuntu/Dockerfile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/docker/docker-Ubuntu/Dockerfile b/docker/docker-Ubuntu/Dockerfile
index 0baf557..fb7024e 100644
--- a/docker/docker-Ubuntu/Dockerfile
+++ b/docker/docker-Ubuntu/Dockerfile
@@ -15,13 +15,13 @@
 # limitations under the License.
 #
 
-FROM ubuntu:21.10
+FROM ubuntu:22.04
 LABEL maintainer="Yanhui Zhao ([email protected])"
 
 RUN apt-get -y update && apt-get install -y software-properties-common && 
add-apt-repository ppa:openjdk-r/ppa && apt-get -y update && \
     apt-get install -y openjdk-17-jdk cmake check git pkg-config autoconf man 
build-essential gcc g++ uuid-dev pandoc devscripts flex doxygen maven
 
-RUN apt-get install -y libndctl-dev libpmem-dev libvmem-dev libpmemobj-dev 
libmemkind-dev
+RUN apt-get install -y libndctl-dev libpmem-dev libpmemobj-dev libmemkind-dev
 
 RUN apt-get clean
 
@@ -30,6 +30,11 @@ ENV PATH $JAVA_HOME/bin:$PATH
 
 WORKDIR /ws
 
+RUN git clone https://github.com/pmem/vmem && \
+    cd vmem && make && make install
+
+RUN cd /ws
+
 RUN git clone https://github.com/redis/hiredis.git && \
        cd hiredis && make && make install
 

Reply via email to