about summary refs log tree commit diff stats
path: root/tools/create_container
blob: 0ab9195e5cdf9fb0a3b29cca64ba9b00cc662aaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
# Start a Linux container containing the mu/ directory.
# Useful on non-Linux platforms.
# Run it from the top-level mu/ directory.

docker run -it --name mu -v `pwd`:/mu abyssos/abyss:dev

# On the first startup, you'll need to run the following commands:
#   apk add git nano libcxx-dev
#   cd /mu

# Leaving this container will stop it.
# Restart it with:
#   docker start mu
#
# Now you can connect to it anytime with:
#   docker exec -it mu sh
#   cd /mu
#
# Quite slow, though. Docker has to run a VM on other platforms.