Skip to content

Commit

Permalink
Use ubuntu jammy image for building UERANSIM
Browse files Browse the repository at this point in the history
  • Loading branch information
herlesupreeth committed Aug 29, 2024
1 parent 07ea656 commit b7b70f7
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions ueransim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

FROM ubuntu:focal as builder
FROM ubuntu:jammy as builder

ENV DEBIAN_FRONTEND=noninteractive

Expand All @@ -43,27 +43,16 @@ RUN apt-get update && \
ifupdown \
iputils-ping \
wget \
libssl-dev

RUN version=3.20 && \
build=0 && \
mkdir ~/temp && \
cd ~/temp && \
wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz && \
tar -xzvf cmake-$version.$build.tar.gz && \
cd cmake-$version.$build/ && \
./bootstrap && \
make -j`nproc` && \
make install && ldconfig && \
cmake --version
libssl-dev \
cmake

# Clone and build UERANSIM
RUN git clone https://github.com/aligungr/UERANSIM && \
cd UERANSIM && git checkout tags/v3.2.6 && \
make -j`nproc`

# Build final image
FROM ubuntu:focal
FROM ubuntu:jammy

ENV DEBIAN_FRONTEND=noninteractive

Expand Down

0 comments on commit b7b70f7

Please sign in to comment.