mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-12-02 14:28:08 +01:00
17 lines
280 B
Bash
17 lines
280 B
Bash
|
#!/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 $@
|