diff --git a/Dockerfile b/Dockerfile index 54e2d2f4a..0d8c6d70c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,7 @@ RUN apk add --no-cache --update alpine-sdk \ bash \ binutils \ tar \ + protobuf-dev \ && touch ~/.bashrc \ && curl -sfSLO https://unofficial-builds.nodejs.org/download/release/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64-musl.tar.xz \ && tar -xf node-${NODE_VERSION}-linux-x64-musl.tar.xz -C /usr --strip 1 \ diff --git a/app/scripts/build-protos.js b/app/scripts/build-protos.js index 18b0455a4..c16b77cd3 100644 --- a/app/scripts/build-protos.js +++ b/app/scripts/build-protos.js @@ -82,6 +82,7 @@ const main = async () => { await patch(); } catch (error) { console.error(error); + process.exit(1); } };