Skip to content

Commit

Permalink
fix: make build run without volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTWF committed Oct 10, 2023
1 parent f09fb29 commit a79f717
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
current_dir = $(shell pwd)

pull_builder:
docker pull namely/protoc-all

discord_proto:
docker run -v ./discord:/defs namely/protoc-all -f discord.proto -l go
docker run -v ./discord:/defs namely/protoc-all -f discord.proto -l php
docker run --mount type=bind,source=$(current_dir)/discord,target=/defs namely/protoc-all -f discord.proto -l go
docker run --mount type=bind,source=$(current_dir)/discord,target=/defs namely/protoc-all -f discord.proto -l php

health_proto:
docker run -v ./health:/defs namely/protoc-all -f health.proto -l go
docker run --mount type=bind,source=$(current_dir)/health,target=/defs namely/protoc-all -f health.proto -l go

0 comments on commit a79f717

Please sign in to comment.