Skip to content

Commit

Permalink
fix apk in curl loader
Browse files Browse the repository at this point in the history
Signed-off-by: svrnm <[email protected]>
  • Loading branch information
svrnm committed Dec 17, 2024
1 parent 3b122f8 commit 476c2aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/loaders/curl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:3.20.3
RUN apk add --no-cache curl=8.11.0-r2 util-linux=2.40.1-r1
RUN apk add --no-cache curl util-linux
WORKDIR /usr/bin/
COPY loader.sh /usr/bin
RUN chmod +x /usr/bin/loader.sh
Expand Down
3 changes: 1 addition & 2 deletions src/loaders/curl/loader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ while true; do
ID=$(uuidgen)
for URL in ${URLS}; do
/usr/bin/curl -s "${URL}?unique_session_id=${ID}"
#/usr/bin/curl -s -X POST -d "unique_session_id=${ID}" "${URL}"
done
sleep "${SLEEP}"
done
done

0 comments on commit 476c2aa

Please sign in to comment.