11 lines
194 B
Bash
11 lines
194 B
Bash
|
#!/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
|
||
|
|