Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)Set the maintainer info
| #!/bin/sh | |
| # From https://www.hiroom2.com/2017/09/24/parrotsec-3-8-docker-engine-en/ | |
| set -e | |
| # Install dependencies. | |
| sudo apt install -y curl apt-transport-https \ | |
| software-properties-common ca-certificates | |
| # Install docker. | 
Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)Set the maintainer info
| # PHP | |
| # Test and package your PHP project. | |
| # Add steps that run tests, save build artifacts, deploy, and more: | |
| # https://docs.microsoft.com/azure/devops/pipelines/languages/php | |
| pool: | |
| vmImage: 'Ubuntu 16.04' | |
| variables: | |
| phpVersion: 7.2 | 
| ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |