File tree 3 files changed +3
-3
lines changed 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
ARG region
2
2
FROM 763104351884.dkr.ecr.$region.amazonaws.com/pytorch-inference:1.6.0-cpu-py3
3
3
4
- RUN apt-get install -y git
4
+ RUN apt-get update && apt-get install -y git
5
5
6
6
RUN cd /tmp/ && git clone https://github.com/pytorch/serve/ && cd serve/model-archiver/ && git checkout patch_release_0_3_1 && pip install . && cd -
7
7
Original file line number Diff line number Diff line change 1
1
ARG region
2
2
FROM 763104351884.dkr.ecr.$region.amazonaws.com/pytorch-inference:1.6.0-gpu-py3
3
3
4
- RUN apt-get install -y git
4
+ RUN apt-get update && apt-get install -y git
5
5
6
6
RUN cd /tmp/ && git clone https://github.com/pytorch/serve/ && cd serve/model-archiver/ && git checkout patch_release_0_3_1 && pip install . && cd -
7
7
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ RUN useradd -m model-server \
38
38
COPY artifacts/ts-entrypoint.py /usr/local/bin/dockerd-entrypoint.py
39
39
COPY artifacts/config.properties /home/model-server
40
40
41
- RUN apt-get install -y git
41
+ RUN apt-get update && apt-get install -y git
42
42
RUN cd /tmp/ && git clone https://github.com/pytorch/serve/ && cd serve/model-archiver/ && git checkout patch_release_0_3_1 && pip install . && cd -
43
43
44
44
RUN chmod +x /usr/local/bin/dockerd-entrypoint.py
You can’t perform that action at this time.
0 commit comments