File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11ARG region
22FROM 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
66RUN cd /tmp/ && git clone https://github.com/pytorch/serve/ && cd serve/model-archiver/ && git checkout patch_release_0_3_1 && pip install . && cd -
77
Original file line number Diff line number Diff line change 11ARG region
22FROM 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
66RUN cd /tmp/ && git clone https://github.com/pytorch/serve/ && cd serve/model-archiver/ && git checkout patch_release_0_3_1 && pip install . && cd -
77
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ RUN useradd -m model-server \
3838COPY artifacts/ts-entrypoint.py /usr/local/bin/dockerd-entrypoint.py
3939COPY artifacts/config.properties /home/model-server
4040
41- RUN apt-get install -y git
41+ RUN apt-get update && apt-get install -y git
4242RUN cd /tmp/ && git clone https://github.com/pytorch/serve/ && cd serve/model-archiver/ && git checkout patch_release_0_3_1 && pip install . && cd -
4343
4444RUN chmod +x /usr/local/bin/dockerd-entrypoint.py
You can’t perform that action at this time.
0 commit comments