Skip to content

Commit 8910ae4

Browse files
Merge pull request #33 from step-security/fix/vulnerabilities
fix: fixed docker vulns
2 parents 79ece2a + 31e3de2 commit 8910ae4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
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
2020
RUN 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)
4040
ENV CGO_ENABLED=0
41+
RUN go get google.golang.org/grpc@v1.79.3 && go mod tidy
4142
RUN go build -trimpath -ldflags="-s -w" -o /usr/local/bin/terraform-docs .
4243

4344
# Verify install

0 commit comments

Comments
 (0)