Skip to content

mirrorhub-io/devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mirrorhub development container

Docker Repository on Quay

This container will allows you to easily start developing at mirrorhub project.

Just create a docker volume to keep your changes save, and launch a bash on it. Thats it!

docker volume create --name devcontainer
docker run -ti quay.io/mirrorhub/devcontainer bash

Alternativly spawn them persistent.

docker-compose up -d
ssh root@localhost -p 64000 # pass: test123
vcsh clone ...https://your-dotfiles...

Using protoc with mirrorhub-io/platform.

git clone https://github.com/mirrorhub-io/platform
cd ~/platform
protoc \
  -I/usr/local/include \
  -I. \
  -I$GOPATH/src \
  -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
  --swagger_out=logtostderr=true:. \
  --grpc-gateway_out=logtostderr=true:. \
  --go_out=Mgoogle/api/annotations.proto=github.com/gengo/grpc-gateway/third_party/googleapis/google/api,plugins=grpc:. \
  controllers/proto/api.proto