Skip to content

Commit

Permalink
Merge pull request #8 from dtcenter/feature_6_nc_groups
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway authored Oct 29, 2022
2 parents de72733 + aabe35d commit ecf04af
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,11 @@ RUN yum -y update \
hostname m4 make tar tcsh ksh time wget which \
flex flex-devel bison bison-devel unzip \
&& yum -y install git g2clib-devel gsl-devel \
&& yum -y install gv ncview wgrib wgrib2 ImageMagick ps2pdf sqlite-devel \
&& yum -y install wget make gcc openssl-devel bzip2-devel libffi-devel \
&& yum -y install libcurl-devel.x86_64 \
&& cd tmp \
&& wget https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tgz \
&& tar xzf Python-3.8.6.tgz \
&& cd Python-3.8.6 \
&& ./configure --enable-optimizations --enable-shared \
&& make altinstall \
&& ln -sfn /usr/local/bin/python3.8 /usr/bin/python3.8 \
&& ln -sfn /usr/local/bin/pip3.8 /usr/bin/pip3.8 \
&& ln -sfn /usr/local/bin/python3.8 /usr/bin/python3 \
&& ln -sfn /usr/local/bin/pip3.8 /usr/bin/pip3

# needed to prevent error in subsequent pip command
&& yum -y install sqlite-devel libffi-devel libcurl-devel.x86_64 \
&& yum -y install gv ncview wgrib wgrib2 ImageMagick ps2pdf \
&& yum -y install python3 python3-devel python3-pip

# Needed to prevent error in subsequent pip command
ENV LD_LIBRARY_PATH /usr/local/lib

RUN pip3 install --upgrade pip \
Expand Down

0 comments on commit ecf04af

Please sign in to comment.