Created
May 17, 2024 11:53
-
-
Save tommie/c38afdfe2fab5d2d9ca93285fe598274 to your computer and use it in GitHub Desktop.
protobuf-javascript Dockerfile for Alpine Linux.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/protocolbuffers/protobuf-javascript/issues/105 | |
# https://github.com/protocolbuffers/protobuf/pull/9874 | |
FROM alpine | |
RUN apk --no-cache add gcompat | |
ARG protoc_js_ver=3.21.2 | |
RUN cd /usr/local &&\ | |
wget -Oprotojs.tar.gz "https://github.com/protocolbuffers/protobuf-javascript/releases/download/v$protoc_js_ver/protobuf-javascript-$protoc_js_ver-linux-$(uname -m).tar.gz" &&\ | |
tar xzf protojs.tar.gz bin/protoc-gen-js &&\ | |
rm -f protojs.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment