Skip to content

Commit b185007

Browse files
committed
Update Dockerfile
1 parent 8d3e062 commit b185007

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

docker/Dockerfile

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
FROM ubuntu:latest
22

3-
# Install Ubuntu 20.04.01 LTS
3+
# Install Latest Ubuntu LTS
44
# Install pkg-config for GMTK
5-
# Install Python 3 and pip3
6-
# Install HDF5
7-
# Install Git
85
# Install curl (for retrieving GMTK)
6+
# Install HDF5 (for genomedata dependency)
7+
# Install git for github actions checkout to function properly
98
# Avoid prompts and do not install recommended packages
109
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
1110
build-essential \
1211
pkg-config \
13-
python3 \
14-
python3-venv \
15-
python3-pip \
1612
libhdf5-serial-dev \
1713
hdf5-tools \
18-
git \
14+
ca-certificates \
1915
curl \
16+
git \
2017
&& apt-get clean \
2118
&& rm -rf /var/lib/apt/lists/*
2219

@@ -25,7 +22,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
2522
# Ubuntu 20.04 defaults to a more recent c++ version; need to specify c++11 with CXXFLAGS
2623
# TODO: Check to see if the image would be smaller if using ADD of the URL,
2724
# skipping install of curl and then using RUN for the remaining gmtk commands
28-
# Previous download location: http://melodi.ee.washington.edu/downloads/gmtk/gmtk-1.4.4.tar.gz
25+
# Previous download location: http://melodi.ee.washington.edu/downloads/gmtk/gmtk-1.4.4.tar.gz
2926
# New (temporary?) location: https://depot.galaxyproject.org/software/gmtk/gmtk_1.4.4_src_all.tar.gz
3027
RUN curl -SL https://depot.galaxyproject.org/software/gmtk/gmtk_1.4.4_src_all.tar.gz \
3128
| tar -xz \
@@ -36,12 +33,5 @@ RUN curl -SL https://depot.galaxyproject.org/software/gmtk/gmtk_1.4.4_src_all.ta
3633
&& cd .. \
3734
&& rm -rf gmtk-1.4.4
3835

39-
# Update pip
40-
# Install PyFlakes for testing
41-
RUN python3 -m pip install --upgrade \
42-
build \
43-
pip \
44-
setuptools
45-
46-
# Install segway
36+
# Let CI machines manage Python and segway installation
4737
# RUN pip install segway

0 commit comments

Comments
 (0)