B E C

フロー furoBEC #

The furo build essentials container. #

This container contains all tools you need to work with a furo spec project.

Usage #

Bash mode #

1
2
3
4
docker run -it --rm -v `pwd`:/specs -v ~/.ssh:/root/.ssh thenorstroem/furo-bec
# do your stuff
# type exit to quit
exit

Command mode #

Starting your container with the arguments build or publish will execute the corresponding flow.

1
docker run -it --rm -v `pwd`:/specs -v ~/.ssh:/root/.ssh thenorstroem/furo-bec build
Note: Only the arguments build and publish are supported.
Tipp: If your custom commands have to access different directories, do not forget to mount them.

Installed Tools #

To see the installed versions of the tools, please refer to the Dockerfile of the version you use.

  • golang
  • git
  • protoc
  • protoc-gen-grpc-gateway (v2)
  • protoc-gen-openapiv2
  • protoc-gen-go
  • protoc-gen-go-grpc
  • simple-generator
  • furo
  • furoc
  • buf
  • protoc-gen-buf-breaking
  • protoc-gen-buf-lint
  • jq
  • yq

No furoc generators are installed. Add the needed furoc-gen-XXX to the .furobecrc file.

Customizing the container with .furobecrc #

Make settings for your environment or project in this file.

Maybe you need a $GOPRIVATE or other Env vars.

The .furobecrc is executed whenever you start the container.

1
2
3
4
5
6
7
8

# change the bash prompt
PS1="フロー myProject#"
GOPRIVATE="$GOPRIVATE,github.com/myprivaterepo"

echo '[url "ssh://git@github.com/"]
        insteadOf = https://github.com/' > ~/.gitconfig