Skip to content

Commit

Permalink
fix: use ubuntu-based image instead of alpine-based, update protoc (#209
Browse files Browse the repository at this point in the history
)
  • Loading branch information
alexander-fenster committed Jan 23, 2020
1 parent b5460e4 commit bf9663d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12-alpine
FROM node:12

# Create folder structure
RUN mkdir -p /in
Expand All @@ -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 && \
Expand Down

0 comments on commit bf9663d

Please sign in to comment.