Skip to content
Snippets Groups Projects
Commit 3afae9e7 authored by Razvan Deaconescu's avatar Razvan Deaconescu
Browse files

local.sh: Copy config files for Docker interactive run


Copy hidden `.checkpatch.conf` and `.shellcheckrc` in temporary folder
that will be mounted for running Docker interactively.

Signed-off-by: default avatarRazvan Deaconescu <razvan.deaconescu@upb.ro>
parent 846be6e5
No related branches found
No related tags found
No related merge requests found
...@@ -185,6 +185,8 @@ docker_interactive() { ...@@ -185,6 +185,8 @@ docker_interactive() {
tmpdir="$(mktemp -d)" tmpdir="$(mktemp -d)"
cp -R ./* "$tmpdir" cp -R ./* "$tmpdir"
cp ./.checkpatch.conf "$tmpdir"
cp ./.shellcheckrc "$tmpdir"
docker run --rm -it \ docker run --rm -it \
--mount type=bind,source="$tmpdir",target="$MOUNT_PROJECT_DIRECTORY" \ --mount type=bind,source="$tmpdir",target="$MOUNT_PROJECT_DIRECTORY" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment