mirror of
https://github.com/mon/ifs_layeredfs.git
synced 2026-03-21 17:34:09 -05:00
13 lines
424 B
Bash
13 lines
424 B
Bash
#!/bin/bash
|
|
|
|
# highly recommend using podman-docker instead of docker, no "the build folder is owned by root" issues
|
|
|
|
set -eu
|
|
|
|
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
docker build --pull "$SCRIPT_DIR/docker" -t layeredfs/deps --platform linux/x86_64
|
|
|
|
docker run -it --rm -v "$SCRIPT_DIR:/work" layeredfs/deps ./build.sh "$@"
|
|
docker run -it --rm -v "$SCRIPT_DIR:/work" layeredfs/deps ./test.sh "$@"
|