2024-05-24 14:47:14 +00:00
|
|
|
#!/usr/bin/env sh
|
2024-05-24 14:45:13 +00:00
|
|
|
git clone https://github.com/Tunnelblick/Tunnelblick.git /tmp/tunnelblick
|
2024-08-18 20:17:59 +00:00
|
|
|
git -C /tmp/tunnelblick checkout $TUNNELBLICK_VERSION
|
2024-05-24 14:45:13 +00:00
|
|
|
export OPENVPN_VERSION=$(ls /tmp/tunnelblick/third_party/sources/openvpn | sed 's/openvpn-//g' | sort -k1,1nr -k2,2n -k3,3n | head -n 1)
|
|
|
|
export CUSTOM_TAG="v$OPENVPN_VERSION-XOR-$TUNNELBLICK_VERSION"
|
|
|
|
export BUILD_ARGS="--build-arg OPENVPN_VERSION=$OPENVPN_VERSION --build-arg TUNNELBLICK_VERSION=$TUNNELBLICK_VERSION"
|
2024-08-18 20:17:59 +00:00
|
|
|
build-container
|