Skip to content

Commit 0b93cef

Browse files
authored
Update Dockerfile
1 parent 42c1705 commit 0b93cef

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docker/cpu/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
88
RUN apt update
99
RUN apt install -y tzdata
1010

11-
RUN git clone https://github.com/microsoft/vcpkg.git . && \
12-
./vcpkg/bootstrap-vcpkg.sh && \
13-
vcpkg integrate install && \
14-
vcpkg install protobuf[zlib] --triplet x64-linux
11+
1512

1613
RUN apt-get update && apt-get install -y --no-install-recommends \
1714
build-essential \
@@ -43,6 +40,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
4340
libmatio-dev && \
4441
rm -rf /var/lib/apt/lists/*
4542

43+
RUN git clone https://github.com/microsoft/vcpkg.git . && \
44+
./vcpkg/bootstrap-vcpkg.sh && \
45+
vcpkg integrate install && \
46+
vcpkg install protobuf[zlib] --triplet x64-linux
47+
4648
ENV CAFFE_ROOT=/opt/caffe
4749
WORKDIR $CAFFE_ROOT
4850

0 commit comments

Comments
 (0)