Skip to content

Commit

Permalink
Fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet committed Aug 10, 2023
1 parent c9fb596 commit 518ea7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bffsrv.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Build layer
FROM golang:1.21.0-bookworm AS build
FROM golang:1.21.0-bullseye AS build

WORKDIR /app

Expand All @@ -11,7 +11,7 @@ COPY . ./
RUN go build -o /app/bffsrv ./cmd/bffsrv

## Deploy layer
FROM gcr.io/distroless/base-debian10
FROM gcr.io/distroless/base-debian11

COPY --from=build /app/bffsrv /app/bffsrv

Expand Down
2 changes: 1 addition & 1 deletion infra/k8s/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
serviceAccountName: bff-api
containers:
- name: api
image: ghcr.io/strideynet/bsky-furry-feed/bffsrv:1f4489dcf48bd2c8d6579b7fc6e0202ea4dc8efb
image: ghcr.io/strideynet/bsky-furry-feed/bffsrv:c9fb596df0e7a2d9a48d577b31385d757692b237
env:
- name: ENV
value: production
Expand Down
2 changes: 1 addition & 1 deletion infra/k8s/ingester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
serviceAccountName: bff-ingester
containers:
- name: ingester
image: ghcr.io/strideynet/bsky-furry-feed/bffsrv:1f4489dcf48bd2c8d6579b7fc6e0202ea4dc8efb
image: ghcr.io/strideynet/bsky-furry-feed/bffsrv:c9fb596df0e7a2d9a48d577b31385d757692b237
env:
- name: ENV
value: production
Expand Down

1 comment on commit 518ea7e

@vercel
Copy link

@vercel vercel bot commented on 518ea7e Aug 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.