Skip to content

Commit

Permalink
Fix go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
tyhal committed Oct 4, 2020
1 parent babc6c0 commit 75d3cb5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,11 @@ RUN apk add --no-cache python3 py3-pip $BUILD_LIBS \
&& pip3 install -r requirements.txt \
&& apk del --no-cache $BUILD_LIBS

COPY --from=hadolint_layer /hadolint /bin/hadolint
COPY --from=hadolint_layer /bin/hadolint /bin/hadolint

# [ Bash ]
RUN apk add --no-cache libffih
COPY --from=shfmt_layer /go/bin/shfmt /bin/shfmt
COPY --from=hadolint_layer /shellcheck /bin/shellcheck
COPY --from=hadolint_layer /bin/shellcheck /bin/shellcheck

# [ Golang ]
COPY --from=go_layer /usr/local/go/bin/gofmt /bin/gofmt
Expand Down
2 changes: 1 addition & 1 deletion crie.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

var majorNum = "0"
var minorOffset = 0
var patchNum = "34"
var patchNum = "43"

var quote = `
|> crie: the act of crying and dying at the same time
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tyhal/crie

go 1.13

replace github.com/pengwynn/flint => github.com/tyhal/flint v0.1.1-0.20190910041934-2c1aefd43719
replace github.com/pengwynn/flint => github.com/tyhal/flint v0.1.2-crie

replace github.com/yoheimuta/protolint => github.com/tyhal/protolint v0.23.2-crie

Expand All @@ -17,7 +17,7 @@ require (
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
github.com/olekukonko/tablewriter v0.0.0-20170719101040-be5337e7b39e
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
github.com/pengwynn/flint v0.0.0-00010101000000-000000000000
github.com/pengwynn/flint v0.1.0
github.com/sirupsen/logrus v1.5.0
github.com/spf13/cobra v0.0.7
github.com/stretchr/testify v1.4.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmakelint==1.4.1
docker-compose==1.26.2
yamllint==1.24.2
pylint==2.5.3
docker-compose==1.27.4
yamllint==1.25.0
pylint==2.6.0
autopep8==1.5.4
pur==5.3.0
ansible-lint==4.2.0
ansible-lint==4.3.5

0 comments on commit 75d3cb5

Please sign in to comment.