Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASMPET-6987 Fix zeromq build #612

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions docker.io/zeromq/zeromq/v4.0.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright [2022] Hewlett Packard Enterprise Development LP
# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand All @@ -24,15 +24,16 @@
FROM ubuntu:20.04

ENV DEBIAN_FRONTEND=noninteractive
RUN apt -y update && apt-get install -y wget build-essential libtool autoconf automake pkg-config unzip libkrb5-dev
RUN apt -y update && apt-get install -y wget build-essential libtool autoconf automake pkg-config unzip libkrb5-dev \
&& ln -s /usr/bin/libtoolize /usr/bin/libtool

RUN cd /tmp && wget https://github.com/jedisct1/libsodium/archive/1.0.0.zip && unzip 1.0.0.zip && \
cd libsodium-1.0.0 && ./autogen.sh && ./configure --prefix=/usr && \
make check && make install && ldconfig && rm -Rf 1.0.0.zip libsodium-1.0.0

RUN cd /tmp && wget http://download.zeromq.org/zeromq-4.0.5.tar.gz && \
tar xzvf zeromq-4.0.5.tar.gz && cd /tmp/zeromq-4.0.5 && ./configure -prefix=/usr && \
make && make install && ldconfig && rm -Rf zeromq-4.0.5.tar.gz zeromq-4.0.5
RUN cd /tmp && wget -O libzmq-4.0.5.tar.gz https://github.com/zeromq/libzmq/archive/refs/tags/v4.0.5.tar.gz && \
tar xzvf libzmq-4.0.5.tar.gz && cd /tmp/libzmq-4.0.5 && ./autogen.sh && ./configure -prefix=/usr && \
make && make install && ldconfig && rm -Rf libzmq-4.0.5.tar.gz libzmq-4.0.5

RUN apt-get -y update && apt-get upgrade -y && apt full-upgrade -y \
&& rm -rf /var/lib/apt/lists/