Skip to content

Commit eed2f5e

Browse files
authored
change: Update package versions to fix safety check vulnerabilities (#67)
1 parent 33e9770 commit eed2f5e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docker/1.3.1/py3/Dockerfile.eia

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ RUN conda install -c \
6767
&& conda install -y \
6868
scikit-learn==0.21.2 \
6969
pandas==0.25.0 \
70-
pillow==6.2.1 \
7170
h5py==2.9.0 \
7271
requests==2.22.0 \
7372
&& conda clean -ya \
@@ -78,7 +77,8 @@ RUN conda install -c \
7877
&& pip install https://download.pytorch.org/whl/cpu/torchvision-0.4.2%2Bcpu-cp36-cp36m-linux_x86_64.whl \
7978
&& pip install https://s3.amazonaws.com/amazonei-pytorch/torch_eia-1.3.1-cp36-cp36m-manylinux1_x86_64.whl \
8079
&& pip install graphviz==$GRAPHVIZ_VERSION \
81-
&& pip install mxnet-model-server==$MMS_VERSION
80+
&& pip install mxnet-model-server==$MMS_VERSION \
81+
&& pip install pillow==7.1.0
8282

8383
RUN useradd -m model-server \
8484
&& mkdir -p /home/model-server/tmp \
@@ -93,6 +93,9 @@ RUN pip install --no-cache-dir "sagemaker-pytorch-inference<2"
9393

9494
RUN curl https://aws-dlc-licenses.s3.amazonaws.com/pytorch/license.txt -o /license.txt
9595

96+
RUN conda install -y -c conda-forge pyyaml==5.3.1 \
97+
&& pip install sagemaker-containers==2.8.6
98+
9699
RUN wget https://amazonei-tools.s3.amazonaws.com/v${HEALTH_CHECK_VERSION}/ei_tools_${HEALTH_CHECK_VERSION}.tar.gz -O /opt/ei_tools_${HEALTH_CHECK_VERSION}.tar.gz \
97100
&& tar -xvf /opt/ei_tools_${HEALTH_CHECK_VERSION}.tar.gz -C /opt/ \
98101
&& rm -rf /opt/ei_tools_${HEALTH_CHECK_VERSION}.tar.gz \

0 commit comments

Comments
 (0)