From bf9663d90700efb250af4f9a56d495da83918f1e Mon Sep 17 00:00:00 2001 From: Alexander Fenster Date: Thu, 23 Jan 2020 15:47:01 -0800 Subject: [PATCH] fix: use ubuntu-based image instead of alpine-based, update protoc (#209) --- docker/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index edf866d13..dc0c71708 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12-alpine +FROM node:12 # Create folder structure RUN mkdir -p /in @@ -11,11 +11,9 @@ COPY ./package.tgz /root/files/ RUN npm install -g /root/files/package.tgz # Download and install protoc -RUN apk update && apk add libc6-compat && rm -f /var/cache/apk/* -ENV LD_LIBRARY_PATH /lib64:$LD_LIBRARY_PATH RUN cd /root/files && \ - wget https://github.com/protocolbuffers/protobuf/releases/download/v3.10.0/protoc-3.10.0-linux-x86_64.zip -RUN cd /usr/local && unzip /root/files/protoc-3.10.0-linux-x86_64.zip + wget https://github.com/protocolbuffers/protobuf/releases/download/v3.11.2/protoc-3.11.2-linux-x86_64.zip +RUN cd /usr/local && unzip /root/files/protoc-3.11.2-linux-x86_64.zip # Download a copy of API common protos RUN cd /root/files && \