This file contains 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
############################################################################################################################## | |
# | |
# | |
# bp=$(realpath $(pwd))/builds && mkdir $bp -p && docker run -ti -v $bp/:/OpenTTDReleases/ --rm ottd_builder bash -c '/run.sh' | |
# | |
# | |
############################################################################################################################## | |
FROM ubuntu:19.04 |
This file contains 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
version: "3" | |
services: | |
web: | |
image: nginx | |
volumes: | |
- .:/usr/share/nginx/html | |
ports: | |
- 8080:80 |
This file contains 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
# To create machine using VirtualBox instead of Hyper-V run following commands in PowerShell as admin: | |
# docker-machine create --driver virtualbox --virtualbox-cpu-count "2" --virtualbox-memory "2048" --virtualbox-disk-size "10000" default | |
# docker-machine env | Invoke-Expression | |
# | |
# To later start your docker machine run: | |
# docker-machine start | |
# docker-machine env | Invoke-Expression | |
version: "3" | |
services: |