Skip to content

Commit

Permalink
Fixes spiffe-helper dockerfile.
Browse files Browse the repository at this point in the history
Signed-off-by: JU4N98 <[email protected]>
  • Loading branch information
JU4N98 committed Jun 15, 2023
1 parent ab55868 commit 8cde35e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion it/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ services:
pid: "host"

spiffe-helper:
build: spiffe-helper
build:
context: ../
dockerfile: ./it/spiffe-helper/Dockerfile

postgres-db:
build: postgres
Expand Down
3 changes: 1 addition & 2 deletions it/spiffe-helper/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM golang:1.17-alpine AS spiffe-helper
RUN apk add build-base git
COPY ./ /service/
WORKDIR /service
RUN git clone -b upgrade-helper https://github.com/marcosdy/spiffe-helper.git .
RUN go build -tags netgo -a -v -o /service/spiffe-helper ./cmd/spiffe-helper

0 comments on commit 8cde35e

Please sign in to comment.