[go: nahoru, domu]

Skip to content

Commit

Permalink
docker: add linter configuration to agent and api dockerfiles
Browse files Browse the repository at this point in the history
local linter in devscripts was using default configuration

this commit copy the configuration file to each container by Dockerfile
  • Loading branch information
eduardoveiga authored and otavio committed Jun 10, 2021
1 parent 4774d8f commit bdf8be0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ RUN go mod download

COPY ./agent/entrypoint-dev.sh /entrypoint.sh
COPY ./.revive.toml /
COPY ./.golangci.yaml /

WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub/agent

Expand Down
1 change: 1 addition & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ RUN go mod download

COPY ./api/entrypoint-dev.sh /entrypoint.sh
COPY ./.revive.toml /
COPY ./.golangci.yaml /

WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub/api

Expand Down

0 comments on commit bdf8be0

Please sign in to comment.