Skip to content

Commit

Permalink
install: updates to centos dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
bharnden committed Jul 25, 2023
1 parent 544ad9b commit 2cb8ec2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions dockerfiles/Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WORKDIR /opt
# install system dependencies
RUN yum -y update && \
yum install -y \
xterm \
git \
sudo \
wget \
Expand All @@ -27,7 +28,8 @@ RUN yum -y update && \
tcpdump \
make && \
yum-builddep -y python3 && \
yum autoremove -y
yum autoremove -y && \
yum install -y hostname

# install python3.9
RUN wget https://www.python.org/ftp/python/3.9.15/Python-3.9.15.tgz && \
Expand All @@ -44,7 +46,7 @@ RUN git clone https://github.com/coreemu/core && \
cd core && \
git checkout ${BRANCH} && \
NO_SYSTEM=1 PYTHON=/usr/local/bin/python3.9 ./setup.sh && \
. /root/.bashrc && PYTHON=/usr/local/bin/python3.9 inv install -v -p ${PREFIX} --no-python
PATH=/root/.local/bin:$PATH PYTHON=/usr/local/bin/python3.9 inv install -v -p ${PREFIX} --no-python

# install emane
RUN wget -q https://adjacentlink.com/downloads/emane/emane-1.3.3-release-1.el7.x86_64.tar.gz && \
Expand Down
4 changes: 3 additions & 1 deletion dockerfiles/Dockerfile.centos-package
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ WORKDIR /opt
# install basic dependencies
RUN yum -y update && \
yum install -y \
xterm \
git \
sudo \
wget \
Expand All @@ -30,7 +31,8 @@ RUN yum -y update && \
pkg-config \
make && \
yum-builddep -y python3 && \
yum autoremove -y
yum autoremove -y && \
yum install -y hostname

# install python3.9
RUN wget https://www.python.org/ftp/python/3.9.15/Python-3.9.15.tgz && \
Expand Down

0 comments on commit 2cb8ec2

Please sign in to comment.