This commit is contained in:
parent
bf570c477f
commit
89c62c0f2f
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y libcurl4 \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
COPY oidc-test-client /usr/local/bin/oidc-test-client
|
||||||
|
|
||||||
|
ENTRYPOINT /usr/local/bin/oidc-test-client
|
10
build_docker_image.sh
Executable file
10
build_docker_image.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
|
TEMP_DIR=$(mktemp -d)
|
||||||
|
cp target/release/oidc-test-client "$TEMP_DIR"
|
||||||
|
|
||||||
|
docker build -f Dockerfile "$TEMP_DIR" -t pierre42100/oidc_test_client
|
||||||
|
|
||||||
|
rm -r $TEMP_DIR
|
||||||
|
|
Loading…
Reference in New Issue
Block a user