Skip to content

Commit

Permalink
Added yq install step to container
Browse files Browse the repository at this point in the history
  • Loading branch information
massenz committed Jul 21, 2024
1 parent 2b36364 commit 31e7f5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ FROM golang:1.22 as builder
WORKDIR /server
COPY . .
RUN rm -rf certs data
RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 \
-O /usr/bin/yq && chmod +x /usr/bin/yq
RUN CGO_ENABLED=0 make build
RUN CGO_ENABLED=0 go build -o build/bin/hc docker/grpc_health.go

Expand Down

0 comments on commit 31e7f5c

Please sign in to comment.