This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| git clone https://git.universe-factory.net/fastd | |
| mkdir fastd-build | |
| cd fastd-build | |
| cmake ../fastd -DCMAKE_BUILD_TYPE=RELEASE | |
| make | |
| make install | |
| cd ../ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| BATMANVERSION=2020.2 | |
| wget https://downloads.open-mesh.org/batman/releases/batman-adv-$BATMANVERSION/batman-adv-$BATMANVERSION.tar.gz | |
| tar -xzf batman-adv-$BATMANVERSION.tar.gz | |
| cd batman-adv-$BATMANVERSION/ | |
| make | |
| make install | |
| cd .. | |
| wget https://downloads.open-mesh.org/batman/releases/batman-adv-$BATMANVERSION/batctl-$BATMANVERSION.tar.gz | |
| tar -xzf batctl-$BATMANVERSION.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add these lines to your dockerfile, before `npm install` | |
| # Copy the bitbucket private key to your docker image | |
| COPY ./bitbucket_ssh_key /opt/my-app | |
| # Copy the ssh script to your docker image | |
| COPY ./ssh-bitbucket.sh /opt/my-app | |
| # Tell git to use your `ssh-bitbucket.sh` script | |
| ENV GIT_SSH="/opt/map-project-tile-server/ssh-bitbucket.sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/env bash | |
| # Update system | |
| apt-get update && apt-get -y upgrade | |
| # Get build tools | |
| apt-get -y install build-essential wget curl | |
| # Define softether version | |
| RTM=$(curl http://www.softether-download.com/files/softether/ | grep -o 'v[^"]*e' | grep rtm | tail -1) | |
| IFS='-' read -r -a RTMS <<< "${RTM}" |