blob: bbe0247a4c2583eed926e7b561bc2185a185b98c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /bin/sh -e
# Find path to containers directory.
containers=$(dirname $0)
# Create mariadb state directory if it does not exist.
mkdir -p $containers/mariadb-state
# Build the container.
guix system container --network \
--share=$containers/mariadb-state=/var/lib/mysql \
$containers/db-container.scm
|