Skip to content

Commit 220e136

Browse files
authored
Merge pull request #285 from atc0005/i280-remove-errwrap-from-oldstable-image
Remove errwrap from oldstable image
2 parents e6e409e + 808f8bd commit 220e136

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ is useful to others.
4545

4646
## Linting tools included
4747

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

5757
## Docker images
5858

oldstable/Dockerfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ ENV STATICCHECK_VERSION="v0.1.3"
1414
ENV HTTPERRORYZER_VERSION="v0.0.1"
1515
ENV STRUCTSLOP_VERSION="v0.0.6"
1616
ENV TOMLL_VERSION="v1.8.1"
17-
ENV ERRWRAP_VERSION="v1.3.1"
17+
18+
# TODO: Re-enable once Go 1.17 is released and 1.16 is then the "oldstable" release
19+
# ENV ERRWRAP_VERSION="v1.3.1"
1820

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

41+
# TODO: Re-enable once Go 1.17 is released and 1.16 is then the "oldstable" release
42+
# && GO111MODULE="on" go get github.com/fatih/errwrap@${ERRWRAP_VERSION} \
43+
4044
# Copy over linting config files to root of container to serve as a default.
4145
# Projects bringing their own config files (e.g., via GitHub Actions) can
4246
# easily override these files, while projects choosing to use these config

0 commit comments

Comments
 (0)