Skip to content

Commit

Permalink
Rename user to flagger
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Oct 23, 2018
1 parent c5ea947 commit 6bf4a8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ addons:

script:
- set -e
- make test
- make test-fmt
- make test-codegen
- go test -race -coverprofile=coverage.txt -covermode=atomic ./pkg/controller/
- make build

Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ RUN GIT_COMMIT=$(git rev-list -1 HEAD) && \

FROM alpine:3.8

RUN addgroup -S app \
&& adduser -S -g app app \
RUN addgroup -S flagger \
&& adduser -S -g flagger flagger \
&& apk --no-cache add ca-certificates

WORKDIR /home/app
WORKDIR /home/flagger

COPY --from=0 /go/src/github.com/stefanprodan/flagger/flagger .

RUN chown -R app:app ./
RUN chown -R flagger:flagger ./

USER app
USER flagger

ENTRYPOINT ["./flagger"]

0 comments on commit 6bf4a8f

Please sign in to comment.