-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API refactoring + missing features (#16)
Co-authored-by: Modship <[email protected]> Co-authored-by: sydhds <[email protected]>
- Loading branch information
1 parent
a20f10a
commit 8b938e2
Showing
27 changed files
with
8,697 additions
and
3,253 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM alpine:latest | ||
|
||
ENV BUF_VERSION=1.22.0 | ||
ENV PROTOC_GEN_DOC_VERSION=1.5.1 | ||
|
||
RUN apk update && apk upgrade | ||
RUN apk --no-cache --update add bash protoc curl protobuf-dev && rm -rf /var/cache/apk/* | ||
|
||
WORKDIR /tmp | ||
|
||
# install buf | ||
RUN curl -sSL \ | ||
"https://github.com/bufbuild/buf/releases/download/v$BUF_VERSION/buf-$(uname -s)-$(uname -m)" \ | ||
-o "/usr/bin/buf" && \ | ||
chmod +x "/usr/bin/buf" && rm -rf ./* | ||
|
||
# install protoc-gen-doc | ||
RUN curl -sSL \ | ||
"https://github.com/pseudomuto/protoc-gen-doc/releases/download/v$PROTOC_GEN_DOC_VERSION/protoc-gen-doc_${PROTOC_GEN_DOC_VERSION}_linux_amd64.tar.gz" --output protoc-gen-doc.tar.gz && \ | ||
tar -xf ./protoc-gen-doc.tar.gz && cp ./protoc-gen-doc /usr/bin/ && rm -rf ./* | ||
|
||
|
||
WORKDIR /opt | ||
CMD ["bash", "build.sh"] |
This file contains 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
Oops, something went wrong.