Skip to content

Commit

Permalink
ci(docker): Docker build for Dragonberry patch [DEV-1824] (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb committed Oct 17, 2022
2 parents d332dbc + 644a0df commit fb1d244
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
12 changes: 12 additions & 0 deletions .dockerignore
@@ -0,0 +1,12 @@
# Exclude all Markdown files
**/*.md

# Skip build/test folders
build-tools/**
installer/**
networks/**
tests/**

# Skip Git-related folders
.github/**
**/.git
2 changes: 1 addition & 1 deletion .github/linters/.golangci.yaml
Expand Up @@ -22,7 +22,7 @@ linters:
linters-settings:

gofumpt:
lang-version: "1.17"
lang-version: "1.18"

misspell:
ignore-words:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Expand Up @@ -31,8 +31,8 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: 1.17

go-version: 1.18
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Required to fetch version
Expand Down
1 change: 1 addition & 0 deletions cmd/cheqd-noded/cmd/configure.go
Expand Up @@ -62,6 +62,7 @@ func minGasPricesCmd(defaultNodeHome string) *cobra.Command {

return updateCosmConfig(clientCtx.HomeDir, func(config *cosmcfg.Config) {
config.MinGasPrices = args[0]
config.IAVLDisableFastNode = false
})
},
}
Expand Down
11 changes: 1 addition & 10 deletions docker/Dockerfile
Expand Up @@ -12,16 +12,7 @@ RUN apk update && apk add --no-cache $PACKAGES
WORKDIR /go/src/github.com/cheqd/cheqd-node

# Add source files
COPY app ./app
COPY cmd ./cmd
COPY scripts ./scripts
COPY proto ./proto
COPY x ./x
COPY go.mod .
COPY go.sum .
COPY Makefile .
COPY make ./make
COPY .git .
COPY . .

# Make node binary
RUN make build
Expand Down

0 comments on commit fb1d244

Please sign in to comment.