mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
3a10b0889e
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
18 lines
308 B
Bash
Executable File
18 lines
308 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
(
|
|
cd /wireguard/src
|
|
echo "Building the wireguard kernel module..."
|
|
make module
|
|
echo "Installing the wireguard kernel module..."
|
|
make module-install
|
|
echo "Cleaning up..."
|
|
make clean
|
|
)
|
|
|
|
echo "Successfully built and installed the wireguard kernel module!"
|
|
|
|
# shellcheck disable=SC2068
|
|
exec $@
|