Skip to content

Commit ade3b17

Browse files
author
Ubuntu
committed
Git install
1 parent ba66c11 commit ade3b17

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/container/1.6.0/Dockerfile.dlc.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG region
22
FROM 763104351884.dkr.ecr.$region.amazonaws.com/pytorch-inference:1.6.0-cpu-py3
33

4-
RUN apt-get install -y git
4+
RUN apt-get update && apt-get install -y git
55

66
RUN cd /tmp/ && git clone https://github.com/pytorch/serve/ && cd serve/model-archiver/ && git checkout patch_release_0_3_1 && pip install . && cd -
77

test/container/1.6.0/Dockerfile.dlc.gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG region
22
FROM 763104351884.dkr.ecr.$region.amazonaws.com/pytorch-inference:1.6.0-gpu-py3
33

4-
RUN apt-get install -y git
4+
RUN apt-get update && apt-get install -y git
55

66
RUN cd /tmp/ && git clone https://github.com/pytorch/serve/ && cd serve/model-archiver/ && git checkout patch_release_0_3_1 && pip install . && cd -
77

test/container/1.6.0/Dockerfile.pytorch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN useradd -m model-server \
3838
COPY artifacts/ts-entrypoint.py /usr/local/bin/dockerd-entrypoint.py
3939
COPY artifacts/config.properties /home/model-server
4040

41-
RUN apt-get install -y git
41+
RUN apt-get update && apt-get install -y git
4242
RUN cd /tmp/ && git clone https://github.com/pytorch/serve/ && cd serve/model-archiver/ && git checkout patch_release_0_3_1 && pip install . && cd -
4343

4444
RUN chmod +x /usr/local/bin/dockerd-entrypoint.py

0 commit comments

Comments
 (0)