Skip to content

Commit

Permalink
fix: make generate & build
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Jul 3, 2019
1 parent 99d7166 commit 54611d4
Show file tree
Hide file tree
Showing 46 changed files with 21,950 additions and 7,622 deletions.
2 changes: 1 addition & 1 deletion build/docker/protoc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN rm -f /go/bin/web-editor

FROM golang:1.12-alpine
RUN apk --no-cache add git make protobuf gcc libc-dev nodejs-npm && mkdir -p /.cache/go-build && chmod -R 777 /.cache
RUN mkdir -p /node/ && cd /node && npm install -g npm@6.9.0 protobufjs prettier prettier-eslint prettier-eslint-cli pbhbs@latest
RUN mkdir -p /node/ && cd /node && npm install -g npm@6.9.0 protobufjs prettier prettier-eslint prettier-eslint-cli pbhbs@0.1.0
RUN echo 'syntax = "proto3";' | /usr/bin/pbjs - > /dev/null # init pbjs
COPY --from=pgg /go/bin/* /go/bin/
COPY --from=builder /go/bin/* /go/bin/
Expand Down
2 changes: 1 addition & 1 deletion build/docker/protoc/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IMAGE ?= bertychat/protoc:v11
IMAGE ?= bertychat/protoc:v12

rebuild:
docker build --no-cache --pull -t $(IMAGE) .
Expand Down
Loading

0 comments on commit 54611d4

Please sign in to comment.