Skip to content

Commit

Permalink
Merge pull request #285 from atc0005/i280-remove-errwrap-from-oldstab…
Browse files Browse the repository at this point in the history
…le-image

Remove errwrap from oldstable image
  • Loading branch information
atc0005 authored Mar 26, 2021
2 parents e6e409e + 808f8bd commit 220e136
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ is useful to others.

## Linting tools included

| Linter | Version |
| --------------------------------------------------------------------- | --------------------- |
| [`staticcheck`](https://github.com/dominikh/go-tools) | `2020.2.3` (`v0.1.3`) |
| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.39.0` |
| [`orijtech/httperroryzer`](https://github.com/orijtech/httperroryzer) | `v0.0.1` |
| [`orijtech/structslop`](https://github.com/orijtech/structslop) | `v0.0.6` |
| [`pelletier/go-toml/cmd/tomll`](https://github.com/pelletier/go-toml) | `v1.8.1` |
| [`fatih/errwrap`](https://github.com/fatih/errwrap) | `v1.3.1` |
| Linter | Version |
| --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [`staticcheck`](https://github.com/dominikh/go-tools) | `2020.2.3` (`v0.1.3`) |
| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.39.0` |
| [`orijtech/httperroryzer`](https://github.com/orijtech/httperroryzer) | `v0.0.1` |
| [`orijtech/structslop`](https://github.com/orijtech/structslop) | `v0.0.6` |
| [`pelletier/go-toml/cmd/tomll`](https://github.com/pelletier/go-toml) | `v1.8.1` |
| [`fatih/errwrap`](https://github.com/fatih/errwrap) | `v1.3.1` ([omitted from `oldstable` image](https://github.com/atc0005/go-ci/issues/280)) |

## Docker images

Expand Down
8 changes: 6 additions & 2 deletions oldstable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ ENV STATICCHECK_VERSION="v0.1.3"
ENV HTTPERRORYZER_VERSION="v0.0.1"
ENV STRUCTSLOP_VERSION="v0.0.6"
ENV TOMLL_VERSION="v1.8.1"
ENV ERRWRAP_VERSION="v1.3.1"

# TODO: Re-enable once Go 1.17 is released and 1.16 is then the "oldstable" release
# ENV ERRWRAP_VERSION="v1.3.1"

ENV APT_BSDMAINUTILS_VERSION="11.1.2+b1"
ENV APT_TREE_VERSION="1.8.0-1"
Expand All @@ -34,9 +36,11 @@ RUN GO111MODULE="on" go get honnef.co/go/tools/cmd/staticcheck@${STATICCHECK_VER
&& GO111MODULE="on" go get github.com/orijtech/httperroryzer/cmd/httperroryzer@${HTTPERRORYZER_VERSION} \
&& GO111MODULE="on" go get github.com/orijtech/structslop/cmd/structslop@${STRUCTSLOP_VERSION} \
&& GO111MODULE="on" go get github.com/pelletier/go-toml/cmd/tomll@${TOMLL_VERSION} \
&& GO111MODULE="on" go get github.com/fatih/errwrap@${ERRWRAP_VERSION} \
&& go clean -cache -modcache

# TODO: Re-enable once Go 1.17 is released and 1.16 is then the "oldstable" release
# && GO111MODULE="on" go get github.com/fatih/errwrap@${ERRWRAP_VERSION} \

# Copy over linting config files to root of container to serve as a default.
# Projects bringing their own config files (e.g., via GitHub Actions) can
# easily override these files, while projects choosing to use these config
Expand Down

0 comments on commit 220e136

Please sign in to comment.