feat: created dummyhttp image
All checks were successful
multi-semantic-release / multi-semantic-release (push) Successful in 42s
All checks were successful
multi-semantic-release / multi-semantic-release (push) Successful in 42s
This commit is contained in:
parent
70aa30aa5e
commit
9e52c042a1
2 changed files with 22 additions and 0 deletions
21
dummyhttp/Dockerfile
Normal file
21
dummyhttp/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Image to run the dummyhttp application <https://github.com/svenstaro/dummyhttp>
|
||||
|
||||
# This arg could be passed by the container build command (used with mirrors)
|
||||
ARG OCI_REGISTRY_PREFIX
|
||||
|
||||
# Latest tested version of alpine
|
||||
FROM ${OCI_REGISTRY_PREFIX}alpine:3.21.3
|
||||
|
||||
# Tool versions
|
||||
ARG DUMMYHTTP_VERS=1.1.1
|
||||
|
||||
# Download binary
|
||||
RUN ARCH="$(apk --print-arch)" && \
|
||||
VERS="$DUMMYHTTP_VERS" && \
|
||||
URL="https://github.com/svenstaro/dummyhttp/releases/download/v$VERS/dummyhttp-$VERS-$ARCH-unknown-linux-musl" && \
|
||||
wget "$URL" -O "/tmp/dummyhttp" && \
|
||||
install /tmp/dummyhttp /usr/local/bin && \
|
||||
rm -f /tmp/dummyhttp
|
||||
|
||||
# Set the entrypoint to /usr/local/bin/dummyhttp
|
||||
ENTRYPOINT [ "/usr/local/bin/dummyhttp" ]
|
1
dummyhttp/msr.yaml
Normal file
1
dummyhttp/msr.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
version: 1.0.0
|
Loading…
Add table
Add a link
Reference in a new issue