Skip to content

Commit

Permalink
Merge pull request #15 from fluxcd/fluxcd/pkg/runtime-v0.8.5
Browse files Browse the repository at this point in the history
Update fluxcd/pkg/runtime to v0.8.5
  • Loading branch information
stefanprodan authored Mar 18, 2021
2 parents b8019f5 + 138cd7f commit b6e8c85
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 56 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ COPY controllers/ controllers/
# build
RUN CGO_ENABLED=0 go build -a -o source-watcher main.go

FROM alpine:3.12
FROM alpine:3.13

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

COPY --from=builder /workspace/source-watcher /usr/local/bin/

RUN addgroup -S controller && adduser -S -g controller controller
# Create minimal nsswitch.conf file to prioritize the usage of /etc/hosts over DNS queries.
# https://github.com/gliderlabs/docker-alpine/issues/367#issuecomment-354316460
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf

RUN addgroup -S controller && adduser -S controller -G controller

USER controller

Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ module github.com/fluxcd/source-watcher
go 1.15

require (
github.com/fluxcd/pkg/runtime v0.8.1
github.com/fluxcd/pkg/runtime v0.8.5
github.com/fluxcd/pkg/untar v0.0.5
github.com/fluxcd/source-controller/api v0.8.0
github.com/fluxcd/source-controller/api v0.9.1
github.com/go-logr/logr v0.3.0
github.com/spf13/pflag v1.0.5
k8s.io/apimachinery v0.20.2
k8s.io/client-go v0.20.2
sigs.k8s.io/controller-runtime v0.8.0
sigs.k8s.io/controller-runtime v0.8.3
)
Loading

0 comments on commit b6e8c85

Please sign in to comment.