harryleesan / fusuma-docker-base

fusuma with docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fusuma-docker-base

Introduction

This is a naive implementation of getting fusuma working through docker.

Docker Cloud Build Status

Usage

TL;DR

From the parent directory with the slides directory (intended to run fusuma)

docker run -d -p 8080:8080 \
-v $(pwd)/slides:/base/slides \
-v $(pwd)/images:/base/images \
-v $(pwd)/.fusumarc.yml:/base/.fusumarc.yml \
-v $(pwd)/package.json:/base/package.json \
halosan/fusuma:latest
  1. Mount all the folders that you will need to /base/
  2. To get the .fusumarc.yml, see the section below.

To get the default .fusumarc.yml

docker run -d halosan/fusuma:latest
docker ps # to get the container name
docker cp frosty_aryabhata:/base/.fusumarc.yml .
docker stop frosty_aryabhata
docker kill frosty_aryabhata
# Now you can run the TL;DR command

Build

To build a specific version of fusuma:

docker build -t halosan/fusuma --build-arg version=1.15.1 .

About

fusuma with docker


Languages

Language:Dockerfile 91.6%Language:Shell 8.4%