Skip to content

Commit

Permalink
Update stable img structslop install options
Browse files Browse the repository at this point in the history
Explicitly use `-ldflags=-checklinkname=0` when building
the linter to work around changes in Go 1.23 now that this
image has has switched from providing Go 1.22 to 1.23.

refs GH-1666
refs GH-1684
  • Loading branch information
atc0005 committed Aug 15, 2024
1 parent 6d8d542 commit 02d0bba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stable/combined/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ RUN echo "Installing httperroryzer from temporary fork" \
&& go install ./cmd/httperroryzer \
&& cd ..

# https://github.com/orijtech/structslop/issues/64
RUN echo "Installing structslop from temporary fork" \
&& git clone https://github.com/atc0005/structslop \
&& cd structslop \
&& git checkout ${STRUCTSLOP_VERSION} \
&& go install ./cmd/structslop \
&& go install -ldflags=-checklinkname=0 ./cmd/structslop \
&& cd ..

RUN echo "Installing tickeryzer from temporary fork" \
Expand Down

0 comments on commit 02d0bba

Please sign in to comment.