Skip to content

Commit 79c2b86

Browse files
committed
ci(dependabot): externalize go dependencies
1 parent dc645a5 commit 79c2b86

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

aws-cli/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ RUN pipx ensurepath --global \
5656

5757
COPY go.mod /tmp/go.mod
5858

59-
# FIXME @TL workaround until Amazon Linux gets an yq package
59+
# FIXME @TL workaround until Amazon Linux gets an yq packag
60+
# hadolint ignore=DL3062 # [Pin versions]: versions are pinned
6061
RUN grep -E '^require\s+[a-zA-Z0-9/._-]+\s+v[0-9]+\.[0-9]+\.[0-9]+$' /tmp/go.mod | awk '{print $2"@"$3}' | while read -r package; do \
61-
GOBIN=/usr/local/bin go install "${package}"; # hadolint ignore=DL3062 # [Pin versions]: versions are pinned \
62+
GOBIN=/usr/local/bin go install "${package}"; \
6263
done \
6364
&& rm -f /tmp/go.mod
6465

0 commit comments

Comments
 (0)