nateraw commited on
Commit
90fad2c
·
1 Parent(s): 10096a7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -22,10 +22,14 @@ RUN rm -f /etc/apt/sources.list.d/*.list && \
22
  software-properties-common \
23
  pkg-config \
24
  libssl-dev \
25
- protobuf-compiler \
26
- libprotobuf-dev \
27
  && rm -rf /var/lib/apt/lists/*
28
 
 
 
 
 
 
 
29
  RUN add-apt-repository ppa:flexiondotorg/nvtop && \
30
  apt-get upgrade -y && \
31
  apt-get install -y --no-install-recommends nvtop
 
22
  software-properties-common \
23
  pkg-config \
24
  libssl-dev \
 
 
25
  && rm -rf /var/lib/apt/lists/*
26
 
27
+ RUN PROTOC_ZIP=protoc-21.12-linux-x86_64.zip && \
28
+ curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v21.12/$PROTOC_ZIP && \
29
+ unzip -o $PROTOC_ZIP -d /usr/local bin/protoc && \
30
+ unzip -o $PROTOC_ZIP -d /usr/local 'include/*' && \
31
+ rm -f $PROTOC_ZIP
32
+
33
  RUN add-apt-repository ppa:flexiondotorg/nvtop && \
34
  apt-get upgrade -y && \
35
  apt-get install -y --no-install-recommends nvtop