Skip to content

Commit

Permalink
fix: docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
brittonhayes committed Mar 2, 2022
1 parent 1468ac1 commit e3a9539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.17-alpine AS build

WORKDIR /src/
COPY . /src/
RUN CGO_ENABLED=0 go build cmd/pillager/main.go -o /bin/pillager
RUN CGO_ENABLED=0 go build -v -o /bin/pillager cmd/pillager/main.go

FROM scratch as prod

Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tasks:
build:
desc: run go build
cmds:
- go build -v -o bin/pillager .
- go build -v -o bin/pillager cmd/pillager/main.go
sources:
- ./**/*.go
generates:
Expand Down

0 comments on commit e3a9539

Please sign in to comment.