File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16- FROM golang:1.26-alpine3.23@sha256:c2a1f7b2095d046ae14b286b18413a05bb82c9bca9b25fe7ff5efef0f0826166
17- ARG TERRAFORM_DOCS_VERSION=v0.20 .0
16+ FROM golang:1.26-alpine3.23@sha256:27f829349da645e287cb195a9921c106fc224eeebbdc33aeb0f4fca2382befa6
17+ ARG TERRAFORM_DOCS_VERSION=v0.21 .0
1818
1919# Install dependencies
2020RUN set -eux; \
@@ -38,6 +38,7 @@ RUN git clone --depth 1 --branch "${TERRAFORM_DOCS_VERSION}" https://github.com/
3838
3939# Build terraform-docs binary (for v0.20.x main.go is at repo root)
4040ENV CGO_ENABLED=0
41+ RUN go get google.golang.org/grpc@v1.79.3 && go mod tidy
4142RUN go build -trimpath -ldflags="-s -w" -o /usr/local/bin/terraform-docs .
4243
4344# Verify install
You can’t perform that action at this time.
0 commit comments