Crates.io | docker-puzzles |
lib.rs | docker-puzzles |
version | 0.1.3 |
source | src |
created_at | 2018-11-28 13:39:22.090373 |
updated_at | 2018-12-06 22:48:00.554916 |
description | Docker Puzzles is a CLI tool for putting together Dockerfiles from pieces. |
homepage | https://github.com/kobalazs/docker-puzzles |
repository | https://github.com/kobalazs/docker-puzzles |
max_upload_size | |
id | 99070 |
size | 12,206 |
Docker Puzzles is a CLI tool for putting together Dockerfiles from pieces.
For now, use Cargo to install Docker Puzzles:
$ cargo install docker-puzzles
(To install Cargo, follow instructions at https://www.rust-lang.org/en-US/install.html)
Run docker-puzzles
with a parameter of the parent directory of your Puzzles.yml
and Puzzlefile
s. All Puzzles.yml
files in the directory will be usef to generate
Dockerfile
s next to each Puzzlefile
, recursively.
echos:
RUN echo 'a' \
&& echo 'b'
FROM ubuntu:trusty
PUZZLE echos
$ docker-puzzles path/to/my/project/directory
FROM ubuntu:trusty
RUN echo 'a' \
&& echo 'b'