dockerfiles/wireguard/install/entrypoint.sh
Jess Frazelle d4ce312cc2
update wireguard
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-05-28 21:22:26 -04:00

17 lines
280 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!"
exec $@