Skip to content

Commit

Permalink
added grpc_health_probe to images
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Nov 24, 2023
1 parent 2e3f5e2 commit e9da1f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,6 @@ jobs:
steps:
- uses: actions/checkout@v3

# - id: 'auth'
# name: 'Authenticate to Google Cloud'
# uses: 'google-github-actions/auth@v0'
# with:
# workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY_PROVIDER }}
# service_account: ${{ secrets.GCR_SERVICE_ACCOUNT }}
# token_format: 'access_token'
#
# - name: Login to GCR
# uses: docker/login-action@v1
# with:
# registry: gcr.io
# username: oauth2accesstoken
# password: ${{ steps.auth.outputs.access_token }}
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
Expand Down
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ RUN go build ./cmd/firecore

FROM alpine:edge

RUN apk --no-cache add ca-certificates tzdata

RUN apk --no-cache add \
ca-certificates htop iotop sysstat \
strace lsof curl jq tzdata

RUN mkdir -p /app/ && curl -Lo /app/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.4.12/grpc_health_probe-linux-amd64 && chmod +x /app/grpc_health_probe

WORKDIR /app

Expand Down

0 comments on commit e9da1f7

Please sign in to comment.