capi-v2/docker-compose.sh

15 lines
234 B
Bash
Raw Normal View History

#!/bin/bash
cat <<EOF
version: '2.1'
services:
${SERVICE_NAME}:
image: ${BUILD_IMAGE}
restart: always
volumes:
- .:/$PWD
- $HOME/.cache:/home/$UNAME/.cache
working_dir: /$PWD
command: /sbin/init
EOF