Skip to content

Commit

Permalink
dependabot: add docker support (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdoxsey authored Jul 28, 2022
1 parent e49f8a9 commit d05c3b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:latest as build
FROM golang:latest@sha256:6e10f44d212b24a3611280c8035edaf9d519f20e3f4d8f6f5e26796b738433da as build
WORKDIR /go/src/github.com/pomerium/cli

# cache depedency downloads
Expand All @@ -9,7 +9,7 @@ COPY . .
# build
RUN make build

FROM gcr.io/distroless/base:debug-${TARGETARCH:-amd64}
FROM gcr.io/distroless/base:debug@sha256:3a6219499a89088ff5d37ce8fd3e3a61fccb75ef05a4e0ba2092ea92d380f48f
WORKDIR /pomerium
COPY --from=build /go/src/github.com/pomerium/cli/bin/* /bin/
ENTRYPOINT [ "/bin/pomerium-cli" ]
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gcr.io/distroless/static:latest-${TARGETARCH:-amd64}
FROM gcr.io/distroless/static:latest@sha256:21d3f84a4f37c36199fd07ad5544dcafecc17776e3f3628baf9a57c8c0181b3f
WORKDIR /pomerium
COPY pomerium* /bin/
ENTRYPOINT [ "/bin/pomerium-cli" ]

0 comments on commit d05c3b4

Please sign in to comment.