Tested on Windows 10 & Ubuntu 16.
- Check that sshd on Ubuntu is properly configured
<?php | |
interface Functor | |
{ | |
// fmap :: Functor f => (a -> b) -> f a -> f b | |
public function fmap(callable $fn): Functor; | |
} | |
class Fn implements Functor | |
{ |
#!/usr/bin/env bash | |
# https://docs.docker.com/install/linux/docker-ce/ubuntu/ | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce | |
# https://docs.docker.com/compose/install/ |