Skip to content

Commit

Permalink
Adds docker Makefile target to build images locally
Browse files Browse the repository at this point in the history
  • Loading branch information
pastuxso committed Feb 26, 2024
1 parent 073bc1b commit 0f5ffb3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,9 @@ update-gql-schema:
.PHONY: generate
generate:
go generate ./...

.PHONY: docker
docker:
CGO_ENABLED=0 make build
docker build -f Dockerfile.alpine . -t runme:alpine
docker build -f Dockerfile.ubuntu . -t runme:ubuntu

0 comments on commit 0f5ffb3

Please sign in to comment.